EasyManua.ls Logo

Huawei V100R006C00 - Configuring Local Port Mirroring; Checking the Configuration

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...
7.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 If an Eth-Trunk is configured as a mirrored port, its member interfaces cannot be configured
as mirrored ports.
l If a member interface of an Eth-Trunk is configured as a mirrored port, the Eth-Trunk
cannot be configured as a mirrored port.
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 Step 3 and Step 4.
----End
7.2.3 Checking the Configuration
Run the following commands to check the previous configuration.
Action
Command
Check information about port
mirroring.
display port-mirroring
Check information about the
observing port.
display observe-port
If the following results are obtained, the configuration is successful:
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.
70

Table of Contents

Related product manuals