EasyManua.ls Logo

Huawei V100R006C00 - Page 116

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...
2. Configure Switch B.
# Create the RSPAN VLAN.
<SwitchB> system-view
[SwitchB] vlan 2
[SwitchB-vlan2] quit
# Add GigabitEthernet0/0/1 and GigabitEthernet0/0/2 to the RSPAN VLAN as trunk
interfaces.
[SwitchB] interface gigabitethernet 0/0/1
[SwitchB-GigabitEthernet0/0/1] port link-type trunk
[SwitchB-GigabitEthernet0/0/1] port trunk allow-pass vlan 2
[SwitchB-GigabitEthernet0/0/1] quit
[SwitchB] interface gigabitethernet 0/0/2
[SwitchB-GigabitEthernet0/0/2] port link-type trunk
[SwitchB-GigabitEthernet0/0/2] port trunk allow-pass vlan 2
[SwitchB-GigabitEthernet0/0/2] quit
3. Configure Switch C.
# Create the RSPAN VLAN.
<SwitchC> system-view
[SwitchC] vlan 2
[SwitchC-vlan2] quit
# Add GE 0/0/2 to the RSPAN VLAN as a trunk interface.
[SwitchC] interface gigabitethernet 0/0/2
[SwitchC-GigabitEthernet0/0/2] port link-type trunk
[SwitchC-GigabitEthernet0/0/2] port trunk allow-pass vlan 2
[SwitchC-GigabitEthernet0/0/2] quit
# Configure GE 0/0/1 as a hybrid interface and configure it to allow packets of the RSPAN
VLAN to pass.
[SwitchC] interface gigabitethernet 0/0/1
[SwitchC-GigabitEthernet0/0/1] port hybrid untagged vlan 2
[SwitchC-GigabitEthernet0/0/1] quit
Configuration Files
Configuration file of Switch A
#
sysname SwitchA
#
vlan 2
#
observe-port 1 interface GigabitEthernet0/0/1 vlan 2
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2
#
interface GigabitEthernet0/0/2
port-mirroring to observe-port 1 inbound
#
#
return
Configuration file of Switch B
sysname SwitchB
#
vlan 2
#
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.
107

Table of Contents

Related product manuals