这个光电转换模块H3C未做产品适配,导致流量无法镜像
—————————————————————————————–
H3C RSPAN配置案例
源设备配置:
#创建1个VLAN 用于接收镜像流量
vlan 5
description mirror
#指定本交换机为源,镜像流量放入VLAN5
mirroring-group 1 remote-source
mirroring-group 1 remote-probe vlan 5
#捕获该端口的进出的流量
interface Ten-GigabitEthernet2/0/1
port link-mode bridge
description Link-to-firewall
port access vlan 2
mirroring-group 1 mirroring-port both
#指定镜像流量的出口(包含VLAN5,并且关闭STP)
interface Ten-GigabitEthernet2/0/3
port link-mode bridge
description Link-to-jiaohuanji2
port link-type trunk
port trunk permit vlan all
undo stp enable
mirroring-group 1 monitor-egress
#其余连接接入层的交换机的trunk口排除VLAN5,否则镜像流量会泛洪到其他交换机,造成端口阻塞。
interface Ten-GigabitEthernet1/0/26
port link-mode bridge
port link-type trunk
port trunk permit vlan 1 to 4 6 to 4094
目的交换机:
#创建镜像流量所属VLAN
vlan 5
description mirror
#指明为镜像目的,和镜像目的VLAN
mirroring-group 1 remote-destination
mirroring-group 1 remote-probe vlan 5
#镜像监控端口
interface GigabitEthernet1/0/23
port access vlan 5
combo enable auto
undo stp enable
mirroring-group 1 monitor-port