![Huawei V100R006C00 Configuration Manual Download Page 118](http://html.mh-extra.com/html/huawei/v100r006c00/v100r006c00_configuration-manual_169533118.webp)
Figure 7-9
Networking for changing the observing port
Router
Switch
GE0/0/3
GE0/0/1
L2 Switch
Mirroring
host1
Mirroring
host2
GE0/0/5
GE0/0/24
Configuration Roadmap
The configuration roadmap is as follows:
1.
Delete the mirrored port GigabitEthernet 0/0/1.
2.
Set GigabitEthernet 0/0/5 instead of GigabitEthernet 0/0/24 as the observing port.
3.
Reset GigabitEthernet 0/0/1 as a mirrored port.
Data Preparation
To complete the configuration, you need the following data:
l
Type and number of the new observing port, that is, GigabitEthernet 0/0/5
Configuration Procedure
1.
Check the configurations on the current observing port and mirrored port.
# Run the
display port-mirroring
command to check the configurations on the current
observing port and mirrored port.
<Switch>
display port-mirroring
Port-
mirror:
----------------------------------------------------------
Mirror-port Direction Observe-port
----------------------------------------------------------
GigabitEthernet0/0/1 Inbound
GigabitEthernet0/0/24
2.
Delete the mirrored port.
# Delete the mirrored port GigabitEthernet 0/0/1.
<Switch>
system-view
[Switch]
interface GigabitEthernet 0/0/1
[Switch-GigabitEthernet0/0/1]
undo port-mirroring inbound
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.
109