Huawei V100R006C00 Configuration Manual page 110

Table of Contents

Advertisement

Quidway S5700 Series Ethernet Switches
Configuration Guide - Device Management
Figure 7-6 Networking diagram of local MAC address mirroring
PC1
Configuration Roadmap
The configuration roadmap is as follows:
1.
2.
Data Preparation
None.
Configuration Procedure
1.
2.
3.
4.
Configuration Files
Configuration file of the Switch
Issue 01 (2011-07-15)
GE1/0/1
GE0/0/4
GE0/0/3
GE0/0/1
GE0/0/2
PC2
Set GigabitEthernet 0/0/3 as an observing port.
Configure local MAC address mirroring in the view of VLAN 10.
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.
# Set GigabitEthernet 0/0/3 as an observing port.
<Switch> system-view
[Switch] observing-port 1 interface GigabitEthernet 0/0/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
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
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
PC3
7 Mirroring
101

Advertisement

Table of Contents
loading

Table of Contents