Huawei V100R006C00 Configuration Manual page 119

Table of Contents

Advertisement

Quidway S5700 Series Ethernet Switches
Configuration Guide - Device Management
3.
4.
5.
6.
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
Issue 01 (2011-07-15)
Delete the observing port.
# Delete the observing port GigabitEthernet 0/0/24.
<Switch> system-view
[Switch] undo observe-port 1
Change the observing port.
# Change the observing port to GigabitEthernet 0/0/5.
[Switch] observe-port 1 interface GigabitEthernet 0/0/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
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
----------------------------------------------------------
GigabitEthernet0/0/1
GigabitEthernet0/0/5
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Direction
Observe-port
Inbound
7 Mirroring
110

Advertisement

Table of Contents
loading

Table of Contents