EasyManua.ls Logo

Huawei V100R006C00 - Page 115

Huawei V100R006C00
142 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Figure 7-8 Networking diagram of remote port mirroring
SwitchA SwitchB SwitchC
PC2
GE0/0/2
GE 0/0/1
GE0/0/2
GE 0/0/1
GE0/0/2
GE0/0/1
PC1
Configuration Roadmap
The configuration roadmap is as follows:
l Configure GigabitEthernet0/0/1 of Switch A as an observing port and specify the RSPAN
VLAN.
l Configure GigabitEthernet0/0/2 of Switch A as a mirrored port.
l Configure GigabitEthernet0/0/1 of Switch C as an observing port.
Data Preparation
To complete the configuration, you need the following data:
l Index of the observing port on Switch A: 1
l ID of the RSPAN VLAN on Switch A, Switch B, and Switch C: 2
l Index of the observing port on Switch C: 1
Configuration Procedure
1. Configure Switch A.
# Configure the RSPAN VLAN.
<SwitchA> system-view
[SwitchA] vlan 2
[SwitchA-vlan2] quit
# Configure GigabitEthernet0/0/1 of Switch A as an observing port and specify the RSPAN
VLAN.
[SwitchA] observe-port 1 interface gigabitethernet 0/0/1 vlan 2
# Add GigabitEthernet0/0/1 to the RSPAN VLAN as a trunk interface.
[SwitchA] interface gigabitethernet 0/0/1
[SwitchA-GigabitEthernet0/0/1] port link-type trunk
[SwitchA-GigabitEthernet0/0/1] port trunk allow-pass vlan 2
[SwitchA-GigabitEthernet0/0/1] quit
# Configure remote port mirroring for incoming traffic on GigabitEthernet0/0/2.
[SwitchA] interface gigabitethernet 0/0/2
[SwitchA-GigabitEthernet0/0/2] port-mirroring to observe-port 1 inbound
[SwitchA-GigabitEthernet0/0/2] quit
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.
106

Table of Contents

Related product manuals