思科|锐捷|迈普|华为|华三等常见厂商交换机端口镜像配置命令详细说明
1、H3C交换机网络设备镜像端口配置
命令格式:
mirroring-group 1 local 本地镜像组 1
mirroring-group 1 mirroring-port 源端端口 流量方向【入口input、出口ouput、双向both】
mirroring-group 1 monitor-port 目的端口
示例:
【创建本地镜像组 1】
mirroring-group 1 local 本地镜像组 1
【在本地镜像组1将 G1/0/1 设成镜像源端口,both为双向流量】
mirroring-group 1 mirroring-port GigabitEthernet 1/0/1 both
【在本地镜像组1将 G1/0/2 设成镜像源端口,both为双向流量】
mirroring-group 1 mirroring-port GigabitEthernet 1/0/2 both
mirroring-group 1 monitor-port GigabitEthernet 1/0/32
【在本地镜像组1将 G1/0/32 设成镜像目的端口,镜像上面G1/0/1和G1/0/32的流量】
disp cu查看源端口配置信息
interface GigabitEthernet1/0/1
port link-mode bridge
port link-type trunk
port trunk permit vlan all
mirroring-group 1 mirroring-port both
源端口G1/0/1
interface GigabitEthernet1/0/2
port link-mode bridge
port link-type trunk
port trunk permit vlan all
mirrorin