Huawei Quidway S3700 Series Configuration Manual page 127

V100r006c00
Hide thumbs Also See for Quidway S3700 Series:
Table of Contents

Advertisement

Quidway S3700 Series Ethernet Switches
Configuration Guide - Device Management
2.
3.
4.
5.
Configuration Files
Configuration file of the Switch
#
sysname Switch
#
observe-port 1 interface Ethernet0/0/5
#
interface Ethernet0/0/1
port-mirroring to observe-port 1 inbound
#
return
Issue 01 (2011-07-15)
Port-mirror:
----------------------------------------------------------------------
Mirror-port
----------------------------------------------------------------------
Ethernet0/0/1
----------------------------------------------------------------------
Delete the mirrored port.
# Delete the mirrored port Ethernet 0/0/1.
<Switch> system-view
[Switch] interface ethernet 0/0/1
[Switch-Ethernet0/0/1] undo port-mirroring inbound
[Switch-Ethernet0/0/1] quit
Change the observing port.
# Change the observing port to Ethernet 0/0/5.
[Switch] observe-port 1 interface ethernet 0/0/5
Configure a mirrored port.
# Configure Ethernet 0/0/1 as the mirrored port again.
[Switch] interface ethernet 0/0/1
[Switch-Ethernet0/0/1] port-mirroring to observe-port 1 inbound
[Switch-Ethernet0/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
----------------------------------------------------------------------
Ethernet0/0/1
----------------------------------------------------------------------
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Direction
Observe-port
Inbound
Ethernet0/0/24
Direction
Observe-port
Inbound
Ethernet0/0/5
8 Mirroring
117

Advertisement

Table of Contents
loading

Table of Contents