H3C端口镜像-抓包

#  创建本地镜像组。 
system-view 
[H3C] mirroring-group 1 local 


#  为本地镜像组配置源端口和目的端口,both,全部流量;inbound,入方向流量;outbound,出方向流量
[H3C] mirroring-group 1 mirroring-port Ethernet 1/0/1 Ethernet 1/0/2 both
[H3C] mirroring-group 1 monitor-port Ethernet 1/0/3 


#  显示本地镜像组 1 的配置信息。 
[H3C] display mirroring-group 1 
mirroring-group 1: 
    type: local 
    status: active 
    mirroring port: 
        Ethernet1/0/1  both 
        Ethernet1/0/2  both 
    monitor port: Ethernet1/0/3 
配置完成后,用户可以在Ethernet 1/0/3监控所有报文。

你可能感兴趣的:(华三H3C)