Quidway S3700 Series Ethernet Switches
Configuration Guide - Device Management
8.2.2 Configuring Local Port Mirroring
Context
A mirrored port can be a physical interface or an Eth-Trunk interface.
To configure an Eth-Trunk as a mirrored port, you must run the interface eth-trunk trunk-id
command to create the Eth-Trunk first.
l
l
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
observe-port index interface interface-type interface-number
An observing port is configured.
Step 3 Run:
interface interface-type interface-number
The view of the mirrored port is displayed.
Step 4 Run:
port-mirroring to observe-port index { both | inbound | outbound }
Interface mirroring is configured on the mirrored port.
To monitor packets on multiple interface, repeat
----End
8.2.3 Checking the Configuration
Run the following commands to check the previous configuration.
Action
Check information about port
mirroring.
Check information about the
observing port.
If the following results are obtained, the configuration is successful:
Issue 01 (2011-07-15)
If an Eth-Trunk is configured as a mirrored port, its member interfaces cannot be configured
as mirrored ports.
If a member interface of an Eth-Trunk is configured as a mirrored port, the Eth-Trunk
cannot be configured as a mirrored port.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Step 3
and
Command
display port-mirroring
display observe-port
8 Mirroring
Step
4.
78