Example For Configuring Remote Port Mirroring - Huawei V100R006C00 Configuration Manual

Table of Contents

Advertisement

Quidway S5700 Series Ethernet Switches
Configuration Guide - Device Management
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
As shown in
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.
Issue 01 (2011-07-15)
Interface: GigabitEthernet0/0/5
Direction: Inbound
Policy: p1
Classifier: c1
Rule(s) :
if-match 8021p 6
Behavior: b1
Mirroring to observe-port 1
Figure
7-8, Switch A is connected to PC1; Switch C is connected to PC2. Now,
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
7 Mirroring
105

Advertisement

Table of Contents
loading

Table of Contents