Examples
# Set the maximum reserved bandwidth to 70% of available bandwidth on interface Serial 2/0/1.
<Sysname> system-view
[Sysname] interface Serial2/0/1
[Sysname-Serial2/0/1] qos reserved-bandwidth pct 70
queue af
Use queue af to enable assured-forwarding (AF) and set the minimum guaranteed bandwidth for it.
Use undo queue af to delete the configuration.
Syntax
queue af bandwidth { bandwidth | pct percentage }
undo queue af
Views
Traffic behavior view
Default command level
2: System level
Parameters
bandwidth: Bandwidth in the range of 8 to 1000000 kbps.
pct percentage: Percentage of the available bandwidth.
Usage guidelines
To associate the traffic behavior configured with the queue af command with a class in a policy, the
following requirements must be met:
The total bandwidth assigned for 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 the maximum available bandwidth assigned for 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
for it.
<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] queue af bandwidth 200
Related commands
•
qos policy
traffic behavior
•
classifier behavior
•
103