HP MSR2000/3000/4000 Router Series ACL and QoS Configuration Guide

67
Configuring traffic redirecting
Traffic redirecting is the action of redirecting the packets matching the specific match criteria to a certain
location for processing.
The router supports redirecting traffic to an interface.
Configuration procedure
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a traffic class and
enter traffic class view.
traffic classifier classifier-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 for
a traffic class.
For more information
about the match criteria,
see the if-match
command in ACL and
QoS Command
Reference.
4. Return to system view.
quit N/A
5. Create a traffic behavior
and enter traffic behavior
view.
traffic behavior behavior-name
By default, no traffic
behavior exists.
6. Configure a traffic
redirecting action.
redirect interface interface-type
interface-number
By default, no traffic
redirecting action is
configured for a traffic
behavior.
7. Return to system view.
quit N/A
8. Create a QoS policy and
enter QoS policy view.
qos policy policy-name
By default, no QoS policy
exists.
9. Associate the traffic class
with the traffic behavior in
the QoS policy.
classifier classifier-name behavior
behavior-name
By default, no
class-behavior
association is configured
for a QoS policy.
10. Return to system view.
quit N/A
11. Apply the QoS policy to
the interface.
Applying the QoS policy to an interface
By default, a QoS polic
y
is not applied.
12. (Optional.) Display traffic
redirecting configuration.
display qos policy user-defined [ policy-name ] Available in any view.