Cisco N3K 端口镜像
5672(config)# monitor session 1
5672(config-monitor)# source interface e1/18 rx //相关参数:both 双向监控,rx 收包,tx 发包
5672(config-monitor)# destination interface e1/26
5672(config-monitor)# exit
5672(config)# exit
到这里之后,因为设备是光口,所以插的是光转电模块,但是接口不识别,没法UP
5672# show int brief
Ethernet VLAN Type Mode Status Reason Speed Port Interface Ch
Eth1/26 1 eth access down SFP validation failed 10G(D) --
尝试发现需要speed 1000 ,并在目的端口下开启switchport monitor
5672(config)# int e1/26
5672(config-if)#switchport monitor
5672(config-if)#speed 1000
5672# show int bri
Eth1/26 monitor eth access up SFP validation failed 10G(D) --
这个地方忘记up 之后忘记show了,应该模块是识别成功的
验证:
5672# show monitor
Session State Reason Description
1 up The session is up