bandwidth (QoS)
To specify the minimum bandwidth allocated to a class belonging to a policy map, use the
bandwidth
command in policy map class configuration mode. To remove the bandwidth specified for a class, use the
no
form of this command.
bandwidth
{
rate
[
units
]|
percent percentage-value
}
no bandwidth
{
rate
[
units
]|
percent percentage-value
}
Syntax Description
Minimum bandwidth, in the units specified, to be assigned to the class. Range is
from 1 to 4294967295.
rate
Specifies the units for the bandwidth. Values can be:
•
bps
—bits per second
•
gbps
—gigabits per second
•
kbps
—kilobits per second (default)
•
mbps
—megabits per second
units
Specifies the amount of minimum guaranteed bandwidth, based on an absolute
percentage of available bandwidth. Range is from 1 to 100.
percent percentage-value
Command Default
The default units is kbps.
Command Modes
Policy map class configuration
Command History
Modification
Release
This command was introduced.
Release 6.0
Usage Guidelines
The
bandwidth
command is used to specify the minimum guaranteed bandwidth allocated for traffic matching
a particular class. Bandwidth may be defined as a specific value or may be set as a percentage of the interface
bandwidth.
If a percentage value is set, the accuracy that can be expected is 1 percent.
The
bandwidth
command is supported only in the egress direction.
A policy map can have a single bandwidth statement per class. Both percentage and actual value bandwidth
configurations can be used within a policy map.
The
bandwidth
command does not specify how the bandwidth is to be shared. Instead it specifies how much
bandwidth is guaranteed per class, by setting the number of tokens that are assigned to the token bucket of a
particular class. For configured behavior to work correctly, you must ensure that the sum of the bandwidths
plus any priority traffic is not greater than the bandwidth of the interface itself. If the interface is oversubscribed,
unpredictable behavior results.
Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers
64
Congestion Avoidance Commands
bandwidth (QoS)