7.11.3 Configuring Flow Mirroring
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:
traffic behavior behavior-name
A traffic behavior is created and the traffic behavior view is displayed.
Step 4 Run:
mirroring to observe-port index
Flow mirroring is configured.
----End
Follow-up Procedure
After configuring flow mirroring in a traffic behavior, you need to bind the behavior to a traffic
classifier in a traffic policy and then apply the policy to the interface. For detailed configuration
procedures, see 7.11.4 Creating and Applying a Traffic Policy.
7.11.4 Creating and Applying a Traffic Policy
Context
Do as follows on the S5700 that needs to be configured with flow mirroring.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
traffic policy policy-name
A traffic policy is created and the policy view is displayed.
Step 3 Run:
classifier classifier-name behavior behavior-name
A traffic behavior is configured for a specified class in the traffic policy.
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.
86