R3303-HP HSR6800 Routers Network Management and Monitoring Configuration Guide
125
Configuring traffic mirroring
This feature is supported only when SAP modules are operating in bridge mode.
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.
You can mirror traffic to the following destinations:
• Interface—Copies the matching packets to a destination interface.
• CPU—Copies the matching packets to the CPU of the card where interfaces with traffic mirroring
configured reside.
Mirroring outgoing traffic to an interface only supports known unicasts, and does not support broadcasts,
multicast, or unknown unicasts.
For more information about QoS policies, traffic classes, and traffic behaviors, see ACL and QoS
Configuration Guide.
Traffic mirroring configuration task list
Task Remarks
Configuring match criteria Required.
Configuring different types
of traffic mirroring
Mirroring traffic to an interface
Use either conf
iguration.
Mirroring traffic to the CPU
Configuring a QoS policy Required.
Applying a QoS policy
Applying a QoS policy to an interface or a port
group
Use either method.
Applying a QoS policy to a VLAN
Configuring match criteria
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a class, and then enter
class view.
traffic classifier tcl-name [ operator
{ and | or } ]
By default, no traffic class exists.