No. Data
1 Type and number of the observing port
2 MAC address of the packets to be mirrored
3 ID of the VLAN that the observed MAC address belongs to
7.8.2 Configuring Local SPAN Based on MAC Addresses
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
observe-port index interface interface-type interface-number
An observing port is configured.
Step 3 Run:
vlan vlan-id
The VLAN view is displayed.
Step 4 Run:
mac-mirroring mac-address to observe-port index inbound
Local SPAN based on MAC addresses is configured.
You can repeatedly perform Step 3 and Step 4 to monitor the incoming packets with multiple
MAC addresses in multiple VLANs.
----End
7.8.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 port
mirroring.
display port-mirroring
If the following results are obtained, the configuration is successful:
l The type of the observing port is configured properly.
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.
81