class-name in this step must be the same as the name of the traffic class created in 7.11.2
Configuring Traffic Classification Rules.
In this step, behavior-name must be the same as that specified in Step 3 when you configure the
traffic behavior.
Step 4 Run:
quit
Return to the system view.
Step 5 Run:
interface interface-type interface-number
The interface view is displayed.
Step 6 Run:
traffic-policy policy-name inbound
The traffic policy that contains flow mirroring is applied to the interface.
You can repeatedly perform Step 5 and Step 6 to monitor the incoming flows, with the same
attributes, passing through multiple interfaces.
----End
7.11.5 Checking the Configuration
Run the following commands to check the previous configuration.
Action
Command
Check information about the
observing port.
display observe-port
Check information about port
mirroring.
display port-mirroring
Check the flow mirroring
configuration in the traffic policy
on an interface.
display traffic policy interface [ interface-type
interface-number ] [ inbound ]
If the following results are obtained, the configuration is successful:
l The observing port is configured properly.
l A proper traffic policy is applied to the interface where incoming flows need to be
monitored.
l The traffic policy contains a proper traffic classifier and a traffic behavior and the traffic
behavior contains a flow mirroring action.
7.12 Configuring Remote Flow Mirroring
This section describes how to configure remote flow mirroring.
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.
87