EasyManua.ls Logo

Huawei V100R006C00 - Page 110

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-6 Networking diagram of local MAC address mirroring
PC1
PC2
GE0/0/2
GE0/0/3
GE0/0/1
PC3
GE0/0/4
GE1/0/1
Configuration Roadmap
The configuration roadmap is as follows:
1. Set GigabitEthernet 0/0/3 as an observing port.
2. Configure local MAC address mirroring in the view of VLAN 10.
Data Preparation
None.
Configuration Procedure
1. Configure VLAN 10 and then add GigabitEthernet 0/0/1, GigabitEthernet 0/0/2, and
GigabitEthernet 0/0/4 to VLAN 10. The configuration procedure is not mentioned here.
2. # Set GigabitEthernet 0/0/3 as an observing port.
<Switch> system-view
[Switch] observing-port 1 interface GigabitEthernet 0/0/3
3. Configure a mirroring MAC.
# Configure local MAC address mirroring in the view of VLAN 10.
[Switch] VLAN 10
[Switch-VLAN10] mac-mirroring 0001-0001-0001 to observe-port 1 inbound
[Switch-VLAN10] quit
4. Verify the configuration.
# Run the display port-mirroring command. You can view the configuration of the
observing port.
[Switch] display port-mirroring
Observe index 1 is set to interface GigabitEthernet0/0/3
Observe Type: Local
Observe index 2 is not set to any interface
Observe index 3 is not set to any interface
Observe index 4 is not set to any interface
Configuration Files
Configuration file of the Switch
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.
101

Table of Contents

Related product manuals