R0106-HP MSR Router Series ACL and QoS Configuration Guide(V7)
21
Defining a traffic class
Ste
p
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 is
configured.
3. Configure match criteria.
if-match [ not ] match-criteria
By default, no match criterion is
configured.
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 perform on a traffic class.
To define a traffic behavior:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a traffic behavior and
enter traffic behavior view.
traffic behavior behavior-name
By default, no traffic behavior is
configured.
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.
By default, no action is configured
for a traffic behavior.
Defining a QoS policy
Configuring a parent policy
You associate a traffic behavior with a traffic class in a QoS policy to perform the actions defined in the
traffic behavior for the traffic class of packets.
To associate a traffic class with a traffic behavior in a QoS policy:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a QoS policy and enter
QoS policy view.
qos policy policy-name
By default, no QoS policy is
configured.
3. Associate a traffic class with a
traffic behavior to create a
class-behavior association in
the QoS policy.
classifier classifier-name behavior
behavior-name
By default, a traffic class is not
associated with a traffic behavior.
Repeat this step to create more
class-behavior associations.