Specifications

2-67
Catalyst 4500 Se ries S wit ch C is co IO S C om mand R efer ence —Re lease I OS XE 3 .3.0 XO(1 5.1 (1)XO)
OL_28738-01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
bandwidth
bandwidth
To specify or modify the minimum bandwidth provided to a class belonging to a policy map attached to
a physica l port, use the bandwidth policy-map class command. To return to the default setting, use the
no form of this command.
bandwidth {bandwidth-kbps | percent percent | remaining percent percent}
no bandwidth
Syntax Description
Defaults No bandwidth is specified.
Command Modes Policy-map class configuration mode
Usage Guidelines Use the bandwidth command only in a policy map attached to a physic al port.
The bandwidth command specifies the minimum bandwidth for traffic in that class when there is traffic
congestion in the switch. If the swi tch is not congested, the cla ss receives more bandwidth tha n you
specify with this command.
When queuing class is configured with out any explicit bandwidt h configuration, si nce the queue is not
guaranteed any minimum bandwidth, this queue will get a share of any unallocated bandwidth on the
port.
If there is no unallocated bandwidth for the new queue or if the unallocated bandwidth is not sufficient
to meet the minimum configurable rate for all queues which do not have any explicit bandwidth
configuration, then the policy association is rejected.
These restrictions apply to the bandwidth comman d:
If the percent keyword is used, the sum of the class bandwidth percentages within a single policy
map cannot exceed 100 percen t. Perce ntage calcula tions are bas ed on the bandw idth availa ble on the
port.
The amount of bandwidth con figured should be large e nough to accommodate La yer 2 overhead.
A policy map can have all the class bandwidths specified in either kbps or in percentages, but not a
mix of both.
Examples This example shows how to set the minimum bandwidth to 2000 kbps f or a class called silver-class. The
class already exists in the switch configuration:
bandwidth-kbps Amount of bandwidth in kbps assigned to the class. The range is 32 to
16000000.
percent percent Percentage of available bandwidth assigned to the parent class. The
range is 1 to 100.
remaining percent percent Percentage of remaining bandwidth a ssigned to parent class. Th e range
is 1 to 100. This command is supported only when priority queuing class
is configured, and the prioity queuing class is not rate-limited.