R3102-R3103-HP 6600/HSR6600 Routers Network Management and Monitoring Configuration Guide
126
Configuring traffic mirroring
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.
3. Configure match criteria.
if-match [ not ] match-criteria
By default, no match criterion is
configured in a traffic class.
For more information about the traffic classifier and if-match commands, see ACL and QoS Command
Reference.
Configuring different types of traffic mirroring
In a traffic behavior, you can configure only one type of traffic mirroring.
Mirroring traffic to an interface
To mirror traffic to an interface:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a behavior, and enter
behavior view.
traffic behavior behavior-name
By default, no traffic behavior
exists.
For more information about the
traffic behavior command, see
ACL and QoS Command
Reference.
3. Specify the destination
interface for traffic mirroring.
mirror-to interface interface-type
interface-number
By default, traffic mirroring is not
configured in a traffic behavior.
Mirroring traffic to the CPU
To mirror traffic to the CPU:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a behavior and enter
behavior view.
traffic behavior behavior-name
By default, no traffic behavior
exists.
For more information about the
traffic behavior command, see
ACL and QoS Command
Reference.










