目标交换机
vlan 299
undo mac-address mac-learning enable
mirroring-group 1 remote-destination
mirroring-group 1 remote-probe vlan 299
interface g1/0/x
port link-type access
port access vlan 299
mirroring-group 2 monitor-port
undo stp enable
interface bridge-aggra x
port trunk permit vlan 299
源交换机
vlan 299
undo mac-address mac-learning enable
mirroring-group 1 remote-source
mirroring-group 1 mirroring-port g1/0/x both
mirroring-group 1 reflector-port g1/0/51
mirroring-group 1 remote-probe vlan 299
interface bridge-aggra x
port trunk permit vlan 299
验证命令
display mirroring-group all
来源:oschina
链接:https://my.oschina.net/u/4265014/blog/4807283