An RSPAN VLAN is created and the RSPAN VLAN view is displayed.
3.
Run:
mac-address learning disable
The MAC address learning is disabled.
NOTE
If MAC address learning is disabled in the VLAN, other services cannot be configured in the VLAN.
4.
Run:
quit
Return to the system view.
5.
Run:
observe-port
index
interface
interface-type interface-number
[
vlan
vlan-
id
]
An observing port is configured, and the RSPAN VLAN is specified.
6.
Run:
vlan
vlan-id
The view of the VLAN that the observed MAC address belongs to is displayed.
7.
Run:
mac-mirroring
mac-address
to
observe-port
index
inbound
Remote MAC address mirroring is configured and the RSPAN VLAN is specified.
To observe incoming packets from or destined for multiple MAC addresses, repeat
.
l
Configure the RSPAN VLAN on the intermediate switch and add interfaces to the RSPAN
VLAN.
The configuration is the same as that for remote port mirroring. For details, see
Configuring Remote Port Mirroring
l
Configure the remote observing port on the destination switch.
The configuration is the same as that for remote port mirroring. For details, see
Configuring Remote Port Mirroring
----End
7.9.3 Checking the Configuration
Run the following commands to check the previous configuration.
Action
Command
Check information about the
observing port.
display observe-port
Check information about MAC
address mirroring.
display port-mirroring
If the following results are obtained, the configuration is successful:
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.
83