cisco交换机配置
串口连接
初始化配置
管理IP
shell
interface vlan x
no shutdown
ip addrss xx.xx.xx.xx
enable password 123456默认网关
shell
ip default-gateway 192.168.168.1vlan
shell
enable
configure terminal端口聚合
shell
#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端口镜像
shell
##配置端口镜像
#模式 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清空统计
shell
clear counters