华为67:
只支持二层镜像,镜像流量不能进入vlan接口;
不支持三层镜像。
(二层镜像配置)
observe-port 1 interface Eth-Trunk0 vlan 2222
#
方式一:
vlan 1045
mirroring to observe-port 1 inbound
方式二:
int eth-trunk 2
port-mirroring to observe-port 1 inbound
以上两种方式,都只增加Eth-Trunk0物理口的流量,vlan 2222流量不变。
华为9306:
二层镜像,镜像流量不能进入vlan接口;
三层镜像,镜像流量可以进入vlan接口。
(二层镜像配置)
observe-port 1 interface Eth-Trunk0 vlan 2222
#
acl 3666
rule 5 permit ip
#
traffic classifier AA
if-match acl 3666
#
traffic behavior AA
mirroring to observe-port 1
#
traffic policy AA
classifier