1826
C
115: CBQ C
HAPTER
Parameters
Description
Examples
queue af
Syntax
View
Parameters
Description
C
ONFIGURATION
OMMANDS
bandwidth: Maximum bandwidth available on an interface, in the range 1 t
o1000000 kbps
Use the
queue max-bandwidth
bandwidth available on an interface.
Use the
undo queue max-bandwidth
By default:
For a physical interface, the value is the actual baudrate or speed of the physical
interface;
For logical serial interfaces such as T1/E1 and MFR created by binding the value is
the sum of bandwidth on the channels they are bound to.
For logical interfaces such as Virtual Template and VE, the value is 0 kbps.
n
It is recommended that the maximum available bandwidth be smaller than the
■
actual available bandwidth of physical interface or logical link.
Modification of the maximum available bandwidth may trigger CBQ
■
reconstruction, thus resulting in CBQ's reallocation of queue width. The
modification of the baudrate or speed of a physical interface, however, does
not trigger this reconstruction process.
To apply QoS policies to a logical interface properly, you must use the
■
shutdown command to shut down all the physical interfaces bound to the
logical interface and then use the undo shutdown command to bring up
these physical interfaces again.
# Configure the maximum bandwidth on the interface Ethernet1/0 to 16 kbps.
<Sysname> system-view
[Sysname] interface ethernet1/0
[Sysname-Ethernet1/0] qos wfq queue-length 100
queue af bandwidth { bandwidth | pct percentage }
undo queue af
Traffic behavior view
bandwidth: Bandwidth in kbps, in the range 8 to 1000000.
percentage: Percentage of the available bandwidth, in the range 1 to 100.
Use the
queue af
minimum bandwidth used.
Use the
undo queue af
command to configure the maximum
command to restore the default.
command to configure the class to perform AF and the
command to cancel the configuration.