标签:
经常需要在交换机上端口镜像抓包排查问题,记下H3C交换机上的配置:
1、查看是否有配置端口镜像组
display current-configuration
2、创建本地端口镜像组
mirroring-group 2 local
3、为本地镜像组配置源端口和目的端口(源端口是被镜像流量端口,目的端口是镜像流量端口)
mirroring-group 2 mirroring-port Ten-GigabitEthernet 1/0/52 both mirroring-group 2 monitor-port GigabitEthernet 1/0/48
4、检查是否本地镜像组2配置信息
[H3C]display mirroring-group 2 mirroring-group 2: type: local status: active mirroring port: Ten-GigabitEthernet1/0/52 both mirroring CPU: monitor port: GigabitEthernet1/0/48
标签:
原文地址:http://www.cnblogs.com/jiqiang/p/4292597.html