R2511-HP MSR Router Series ACL and QoS Configuration Guide(V5)
23
3. Configure match
criteria.
if-match [ not ]
match-criteria
For more information, see the if-match command in
ACL and QoS Command Reference.
Defining a traffic behavior
A traffic behavior is a set of QoS actions (such as traffic filtering, shaping, policing, and priority marking)
to take on a class of traffic.
The system predefines some traffic behaviors and defines general QoS actions for them. A user-defined
behavior cannot be named the same as a system-defined behavior. You can use these behaviors when
defining a policy. The system-defined behaviors are as follows:
• ef—Expedited forwarding. For more information, see "Configuring congestion management."
• af—Assured forwarding. For more information, see "Configuring congestion management."
• be—Best-effort. For more information, see "Configuring congestion management."
• be-flow-based—Uses the weighted random early detection (WRED) drop policy. For more
information, see "Configuring congestion management."
To define a traffic behavior:
Ste
p
Command
1. Enter system view.
system-view
2. Create a traffic behavior and
enter traffic behavior view
traffic behavior behavior-name
3. Configure actions in the traffic
behavior.
See the subsequent chapters, depending on the purpose of the traffic
behavior: traffic policing, traffic filtering, priority marking, and so on.
Defining a policy
You associate a behavior with a class in a QoS policy to perform the actions defined in the behavior for
the class of packets.
The system provides a predefined QoS policy named default. It includes the associations between
predefined classes and predefined traffic behaviors:
• Class ef with behavior ef.
• Classes af1 through af4 with behavior af.
• Class default-class with behavior be.
You cannot name a user-defined QoS policy the same as the system-defined QoS policy.
To associate a class with a behavior in a policy:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a policy and enter
policy view.
qos policy policy-name N/A
3. Associate a class with a
behavior in the policy.
classifier classifier-name behavior
behavior-name
Repeat this step to create more
class-behavior associations.










