12-9
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
Configuring Policy Actions for Traffic Classes Using Policy Maps
To configure policy actions for a traffic class using a policy map, perform the following configuration
tasks:
•
Configuring a Default Traffic Class Policy, page 12-9
•
Configuring a Class Policy and Dropping Packets Using Tail Drop, page 12-11
•
Configuring a Class Policy and Dropping Packets Using WRED, page 12-12
For more information about QoS policies, see
Chapter 3, “Configuring QoS Policy Actions and Rules.”
Configuring a Default Traffic Class Policy
The router uses the policy actions defined in the default class named
class-default
for traffic that does
not match the criteria for a specific class or when a QoS policy does not exist for a traffic class.
To configure a default traffic class policy, enter the following commands beginning in global
configuration mode:
Command
Purpose
Step 1
Router(config)#
policy-map
policy-map-name
Creates or modifies a policy map. Enters policy-map
configuration mode.
policy-map-name
is the name of the policy map.
Step 2
Router(config-pmap)#
class class-default
Specifies the default class so that you can configure or modify its
policy. Enters policy-map class configuration mode.
Step 3
Router(config-pmap-c)#
bandwidth
{
bandwidth-kbps
|
percent
percentage
|
remaining percent
percentage
}
Specifies the 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 or modifies the minimum bandwidth
allocated for a class belonging to a policy map. 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 or modifies 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 or modifies the
minimum percentage of unused link bandwidth allocated for a
class belonging to a policy map. Valid values are from 1 to 99.