EasyManua.ls Logo

Huawei V100R006C00 - Page 119

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...
3. Delete the observing port.
# Delete the observing port GigabitEthernet 0/0/24.
<Switch> system-view
[Switch] undo observe-port 1
4. Change the observing port.
# Change the observing port to GigabitEthernet 0/0/5.
[Switch] observe-port 1 interface GigabitEthernet 0/0/5
5. Configure a mirrored port.
# Configure GigabitEthernet 0/0/1 as the mirrored port again.
[Switch] interface GigabitEthernet 0/0/1
[Switch-GigabitEthernet0/0/1] port-mirroring to observe-port 1 inbound
[Switch-GigabitEthernet0/0/1] quit
6. Verify the configuration.
# Run the display port-mirroring command. You can 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/5
Configuration Files
Configuration file of the Switch
#
sysname Switch
#
observe-port 1 interface GigabitEthernet0/0/5
#
interface GigabitEthernet0/0/1
port-mirroring to observe-port 1 inbound
#
return
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.
110

Table of Contents

Related product manuals