admin管理员组

文章数量:1532248


2024年6月1日发(作者:)

为交换机命令手册

PCA login: root ;使用root用户

password: linux ;口令是linux

shutdown -h now ;关机

init 0 ;关机

logout

login

ifconfig ;显示IP地址

ifconfig eth0 netmask ;设置IP地址

ifconfig eht0 netmask down ; 删除IP地址

route add gw

route del gw

route add default gw ;设置网关

route del default gw ;删除网关

route ;显示网关

ping

telnet ;建议telnet之前先ping一下

-------------------------------

---------

交换机命令

~~~~~~~~~~

Quidwaysuper password 修改特权用户密码

Quidwaysysname 交换机命名

Quidwayinterface ethernet 0/1 进入接口视图

Quidwayinterface vlan x 进入接口视图

Quidway-Vlan-interfacexip address

Quidwayip route-static 静态路由=网关

Quidwayuser-interface vty 0 4

S3026-ui-vty0-4authentication-mode password

S3026-ui-vty0-4set authentication-mode password simple 222

S3026-ui-vty0-4user privilege level 3

Quidway-Ethernet0/1duplex {half|full|auto} 配置端口双工工作状态

Quidway-Ethernet0/1speed {10|100|auto} 配置端口工作速率

Quidway-Ethernet0/1flow-control 配置端口流控

Quidway-Ethernet0/1mdi {across|auto|normal} 配置端口MDI/MDIX状

态平接或扭接

Quidway-Ethernet0/1port link-type {trunk|access|hybrid} 设置接口

工作模式

Quidway-Ethernet0/1shutdown 关闭/重起接口

Quidway-Ethernet0/2quit 退出系统视图


本文标签: 接口配置端口网关视图