一、交换机命令system进入使能模式password:~~~~~~~~~~[Quidway]superpassword修改特权用户密码[Quidway]sysname交换机命名[Quidway]interfaceethernet0/1进入接口视图[Quidway]interfacevlanx进入接口视图[Quidway-Vlan-interfacex]ipaddress10
0[Quidway]iproute-static0
2静态路由=网关[Quidway]user-interfacevty04[S3026-ui-vty0-4]authentication-modepassword[S3026-ui-vty0-4]setauthentication-modepasswordsimple222[S3026-ui-vty0-4]userprivilegelevel3[Quidway-Ethernet0/1]duplex{half|full|auto}配置端口双工工作状态[Quidway-Ethernet0/1]speed{10|100|auto}配置端口工作速率[Quidway-Ethernet0/1]flow-control配置端口流控[Quidway-Ethernet0/1]mdi{across|auto|normal}配置端口MDI/MDIX状态平接或扭接[Quidway-Ethernet0/1]portlink-type{trunk|access|hybrid}设置接口工作模式[Quidway-Ethernet0/1]shutdown关闭/重起接口[Quidway-Ethernet0/2]quit退出系统视图[Quidway]vlan3创建/删除一个VLAN/进入VLAN模式[Quidway-v