HUAWEI&CISCO交换机端口镜像配置指导( 二 )



Usage: set span disable [dest_mod/dest_portall]
set span
[rxtxboth]
[inpkts ]
[multicast ]
[create]
(example of src_mod/src_ports: 2/1-4 or 2/1-2 or 2/5,2/6
example of src_vlans: 2-10,105)
Switch (enable) set span 3/17 1/1 both inpkts en (配置端口镜像)
Overwrote Port 1/1 to monitor transmit/receive traffic of Port 3/17
Incoming Packets enabled. Multicast enabled.
Switch (enable)show span(察看当前镜像端口及被镜像端口)
Destination: Port 1/1
Admin Source: Port 3/17
Oper Source: Port 3/17
Direction: transmit/receive
Incoming Packets: enabled
Multicast: enabled

推荐阅读