![Huawei V100R006C00 Скачать руководство пользователя страница 114](http://html.mh-extra.com/html/huawei/v100r006c00/v100r006c00_configuration-manual_169533114.webp)
Interface: GigabitEthernet0/0/5
Direction: Inbound
Policy: p1
Classifier: c1
Rule(s) :
if-match 8021p 6
Behavior: b1
Mirroring to observe-port 1
Configuration Files
Configuration file of the Switch
#
sysname Switch
#
vlan batch 10
#
observe-port 1 interface GigabitEthernet0/0/24
#
traffic classifier c1
if-match 8021p 6
#
traffic behavior b1
mirroring to observe-port 1
#
traffic policy p1
classifier c1 behavior b1
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10
traffic-policy p1 inbound
trust 8021p
#
interface GigabitEthernet0/0/3
port link-type trunk
port trunk allow-pass vlan 10
#
interface GigabitEthernet0/0/5
port link-type trunk
port trunk allow-pass vlan 10
traffic-policy p1 inbound
trust 8021p
#
interface GigabitEthernet0/0/24
#
return
7.17.5 Example for Configuring Remote Port Mirroring
Networking Requirements
, Switch A is connected to PC1; Switch C is connected to PC2. Now,
incoming traffic of GigabitEthernet0/0/2 on Switch A needs to be monitored on PC2. In this
case, you can configure remote port mirroring on Switch A.
Quidway S5700 Series Ethernet Switches
Configuration Guide - Device Management
7 Mirroring
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
105