R3303-HP HSR6800 Routers Network Management and Monitoring Configuration Guide
126
Ste
p
Command
Remarks
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.
3. Mirror traffic to the CPU.
mirror-to cpu
By default, no traffic mirroring is
configured in a traffic behavior.
The CPU refers to the CPU of the
card where interfaces with traffic
mirroring configured reside.