R0106-HP MSR Router Series ACL and QoS Command Reference(V7)
96
Usage guidelines
To associate the traffic behavior configured with the queue af command with a class in a policy, you must
follow these requirements:
• The total bandwidth assigned to AF and EF in a policy must be no more than the maximum
available bandwidth of the interface where the policy is applied.
• The total percentage of bandwidth assigned to AF and EF in a policy must be no more than 100.
• The bandwidth assigned to AF and EF in a policy must use the same form, either as an absolute
bandwidth value or as a percentage.
Examples
# Configure AF in traffic behavior database and assign the minimum guaranteed bandwidth 200 kbps
to it.
<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] queue af bandwidth 200
Related commands
• display qos queue cbq interface
• traffic behavior
queue ef
Use queue ef to configure expedited forwarding (EF) and assign its maximum bandwidth.
Use undo queue ef to delete the configuration.
Syntax
queue ef bandwidth { bandwidth [ cbs burst ] | pct percentage [ cbs-ratio ratio ] }
undo queue ef
Default
EF is not configured.
Views
Traffic behavior view
Predefined user roles
network-admin
Parameters
bandwidth: Specifies the bandwidth in the range of 8 to 10000000 kbps.
cbs burst: Specifies the CBS in the range of 32 to 1000000000 bytes. The default is bandwidth × 25.
pct percentage: Specifies the percentage of the available bandwidth, in the range of 1 to 100.
cbs-ratio ratio: Specifies the allowed burst ratio in the range of 25 to 500. This default is 25.
Usage guidelines
You cannot use the command in conjunction with the queue af command or the queue-length command.
In a policy, the default class cannot be associated with the traffic behavior that has the queue ef
command.