cisco交换机配置¶ 串口连接¶ 初始化配置¶ 管理IP¶ Bash1 2 3 4interface vlan x no shutdown ip addrss xx.xx.xx.xx enable password 123456 默认网关¶ Bash1ip default-gateway 192.168.168.1 vlan¶ Bash1 2enable configure terminal 端口聚合¶ Bash 1 2 3 4 5 6 7 8 9 10#interface range fastEthernet 0/23-24 #channel-group 1 mode active #switchport mode trunk #no shutdown # #删除聚合 #no interface port-channel id #查看聚合 #show etherchannel summary #show etherchannel port-channel 1 端口镜像¶ Bash1 2 3 4 5 6 7 8##配置端口镜像 #模式 both:监听双向数据 rx:接受 tx:发送 monitor session 1 source interface gigabitEthernet 0/2 monitor session 1 destination interface gigabitEthernet 0/6 ##显示端口镜像 show monitor ##删除端口镜像 no monitor session 1 清空统计¶ Bash1clear counters