system-view
The system view is displayed.
Step 2 Run:
observe-port interface interface-type interface-number
A local observing interface is configured.
NOTE
On the AR150/200, only one observing interface can be configured.
Other configurations are not recommended on the observing interface; otherwise, non-mirrored packets
may be forwarded through the observing interface.
----End
4.4.3 Configuring Complex Traffic Classification
Select proper traffic classification rules and configure complex traffic classification as required.
For the configuration procedure, see Configuring Traffic Classification in the Huawei
AR150&200 Series Enterprise Routers Configuration Guide - QoS.
4.4.4 Creating a Local Traffic Behavior
Configure the local flow mirroring action to copy the packets matching traffic classification
rules to the observing interface.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
traffic behavior behavior-name
A traffic behavior is created and the traffic behavior view is displayed.
Step 3 Run:
mirror to observe-port
----End
4.4.5 Configuring a Traffic Policy
After the traffic classifier and the flow mirroring action are configured, bind the traffic classifier
and the traffic behavior to a traffic policy and apply the traffic policy to an interface.
Procedure
Step 1 Create a traffic policy.
1. Run:
system-view
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Device Management 4 Mirroring Configuration
Issue 02 (2012-03-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
65