12-16
Cisco 10000 Series Router Quality of Service Configuration Guide
OL-7433-09
Chapter 12 Sharing Bandwidth Fairly During Congestion
Configuring Fair Bandwidth Sharing During Congestion
Attaching a Service Policy to a Virtual Access Interface
To attach a service policy to a virtual access interface (VAI), see the
“Attaching Virtual Access Interface
QoS Service Policies” section on page 4-23
.
Note
To configure class-based WFQ (CBWFQ) for VAIs, you must specify the
bandwidth
command for the
traffic classes configured in the policy map and attach the policy map to either a VC or to a virtual
template interface (requires Cisco IOS Release 12.2(16)BX and later releases).
Modifying the Bandwidth for an Existing Policy Map Class
To change the amount of bandwidth allocated for an existing class, enter the following commands
beginning in global configuration mode:
Command
Purpose
Step 1
Router(config)#
policy-map
policy-map-name
Specifies the name of the policy map containing the class you
want to modify. Enters policy-map configuration mode.
policy-map-name
is the name of the policy map.
Step 2
Router(config-pmap)#
class
class-map-name
Specifies the name of the class whose bandwidth you want to
modify. Enters policy-map class configuration mode.
class-map-name
is the name of the class map.
Step 3
Router(config-pmap-c)#
bandwidth
{
bandwidth-kbps
|
percent
percentage
|
remaining percent
percentage
}
Specifies the changed amount of bandwidth (in kbps or as a
percentage of available bandwidth) to be assigned to the
class. The amount of bandwidth configured should be large
enough to also accommodate Layer 2 overhead.
bandwidth-kbps
specifies the minimum bandwidth allocated
for a traffic class. Valid values are from 8 to 2,488,320, which
represents from 1 to 99 percent of the link bandwidth.
Note
The range of valid values for
bandwidth-kbps
might
be smaller than the values indicated above. Use the
question mark (?) in context-sensitive help to display
the range of valid values.
percent
percentage
specifies the minimum percentage of the
link bandwidth allocated for a class belonging to a policy
map. Valid values are from 1 to 99.
remaining percent
percentage
specifies the minimum
percentage of unused link bandwidth allocated for a class
belonging to a policy map. Valid values are from 1 to 99