R0106-HP MSR Router Series ACL and QoS Configuration Guide(V7)
51
• Associates the predefined class default-class with the predefined traffic behavior be.
Defining a class
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a class and
enter class view.
traffic classifier
classifier-name [ operator
{ and | or } ]
By default, no class is created.
3. Configure match
criteria.
if-match [ not ] match-criteria
By default, no match criterion is configured.
For more information about configuring match
criteria, see ACL and QoS Command
Reference.
Defining a traffic behavior
To define a traffic behavior, create the traffic behavior first and then configure QoS attributes in traffic
behavior view.
Configure AF and the minimum guaranteed bandwidth
When you configure AF and the minimum guaranteed bandwidth, follow these guidelines:
• You can apply this traffic behavior only to the outgoing traffic of an interface.
• You cannot configure the queue ef command together with the queue af command in the same
traffic behavior.
• To configure queue af for multiple classes of a policy, you must configure them in one of the
following units:
{ Bandwidth.
{ Percentage of the available bandwidth.
{ Percentage of the remaining bandwidth.
• To configure both the queue ef command and the queue af command in a policy, you must
configure them in the same unit (either bandwidth or percentage). When you configure AF in
percentage of the remaining bandwidth, you can configure EF in an absolute value or percentage.
To configure AF and the minimum guaranteed bandwidth:
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 behavior is created.
3. Configure AF and the minimum
guaranteed bandwidth.
queue af bandwidth { bandwidth |
pct percentage | remaining-pct
remaining-percentage }
By default, AF is not configured.
Configuring EF and the maximum bandwidth
When you configure EF and the maximum bandwidth, follow these guidelines: