bandwidth remaining
To specify how to allocate leftover bandwidth to various classes, use the bandwidth remaining command in policy map class configuration mode. To return to the system defaults, use the no form of this command.
bandwidth remaining [ratio ratio-value]
no bandwidth remaining [ratio ratio-value]
Syntax Description
ratio ratio-value |
Specifies the amount of guaranteed bandwidth, based on a bandwidth ratio value. Range is 1 to 63 for main interfaces, and 1 to 255 for subinterfaces. |
Command Default
No bandwidth is specified.
Command Modes
Policy map class configuration
Command History
Release |
Modification |
---|---|
Release 7.0.12 |
This command was introduced. |
Usage Guidelines
Bandwidth, bandwidth remaining, and shaping commands can be configured together in the same class.
Note |
The bandwidth remaining command is supported only in the egress direction. |
The available bandwidth is equally distributed among those queueing classes that do not have the remaining bandwidth explicitly configured.
The bandwidth remaining command is used to proportionally allocate bandwidth to the particular classes, but there is no reserved bandwidth capacity.
On egress, if the bandwidth remaining command is not present, then the bandwidth is shared equally among the configured queueing classes present in the policy-map.
Task ID
Task ID |
Operations |
---|---|
qos |
read, write |
Examples
This example shows how the remaining bandwidth is shared by classes class1 and class2 in a 20:80 ratio.
RP/0/RP0/CPU0:router(config)#policy-map policy1
RP/0/RP0/CPU0:router(config-pmap)#class class1
RP/0/RP0/CPU0:router(config-pmap-c)#bandwidth remaining ratio 20
RP/0/RP0/CPU0:router(config-pmap-c)#exit
RP/0/RP0/CPU0:router(config-pmap)#class class2
RP/0/RP0/CPU0:router(config-pmap-c)#bandwidth remaining ratio 80
RP/0/RP0/CPU0:router(config-pmap-c)#exit
RP/0/RP0/CPU0:router(config-pmap)#exit