Configuring traffic mirroring, Overview, Traffic mirroring configuration task list – H3C Technologies H3C MSR 50 User Manual
Page 190: Configuring match criteria

Configuring traffic mirroring
The following matrix shows the feature and router compatibility:
MSR
20-1X
MSR
30
MSR
900
MSR
930
Feature
MSR 20
MSR 50 MSR 2600
Configuring traffic
mirroring
Yes No No
No Yes Yes No
Overview
Traffic mirroring copies specified packets to a specific destination for packet analysis and monitoring.
Traffic mirroring is implemented through QoS policies. In other words, you define traffic classes and
configure match criteria to classify packets to be mirrored, and then you configure traffic behaviors to
mirror packets that fit the match criteria to the specified destination. You can use traffic mirroring to
flexibly classify packets by defining match criteria and obtain accurate statistics. The MSR routers support
mirroring traffic to an interface, which is to copy the matching packets to a destination interface.
For more information about QoS policies, traffic classes, and traffic behaviors, see ACL and QoS
Configuration Guide.
Traffic mirroring configuration task list
Task Remarks
Required.
Mirroring traffic to an interface
Required.
Required.
Required.
On some Layer 2 interfaces, traffic mirroring might conflict with traffic redirecting and port mirroring.
Configuring traffic mirroring
Configuring match criteria
Step Command
Remarks
455.
Enter system view.
system-view
N/A
456.
Create a class, and then enter
class view.
traffic classifier tcl-name [ operator
{ and | or } ]
By default, no traffic class exists.
177