华为6730交换机配置端口镜像mirror
1台华为6730,
型号:S6730-S24X6Q
版本:VRP ® software, Version 5.170 (S6730 V200R024C00SPC500)
需要配置流量镜像
source interface : Xg1/0/1, Xg2/0/1
destination interface : Xg1/0/21
配置步骤
1 配置目的端口
observe-port 1 interface XGigabitEthernet1/0/21
2 配置源端口
interface xg 1/0/1
port-mirroring to observe-port 1 both
interface xg 2/0/1
port-mirroring to observe-port 1 both
3 查看mirror配置
display observe-port
display port-mirroring
<Huawei6730>display observe-port
----------------------------------------------------------------------
Index : 1
Untag-packet : No
Forwarding : Yes
Interface : XGigabitEthernet1/0/21
----------------------------------------------------------------------
<Huwei6730>display port-mirroring
----------------------------------------------------------------------
Observe-port 1 : XGigabitEthernet1/0/21
----------------------------------------------------------------------
Port-mirror:
----------------------------------------------------------------------
Mirror-port Direction Observe-port
----------------------------------------------------------------------
1 XGigabitEthernet1/0/1 Inbound Observe-port 1
2 XGigabitEthernet1/0/1 Outbound Observe-port 1
----------------------------------------------------------------------
浙公网安备 33010602011771号