13-17
Cisco 10000 Series Router Quality of Service Configuration Guide
OL-7433-09
Chapter 13 Defining QoS for Multiple Policy Levels
Configuring QoS for Multiple Queues
Example 13-5
shows how to configure a middle-level child policy using the bottom-level child policy
configured in
Example 13-4
. In this middle-level policy, the policy map named Southwest defines three
traffic classes: Premium, Gold, and class-default. The configuration of these classes provides the
following QoS behavior:
Premium Traffic
•
Gives priority service to Premium traffic
•
Limits Premium packets to 50 percent of the total transmission capacity
Gold Traffic
•
Uses the Gold-Meter policy to police all Gold traffic (see
Example 13-4 on page 13-16
)
–
Guarantees Gold packets a minimum of 15,000 kbps of transmission capacity
–
Marks any traffic that exceeds 15,000 kbps with IP precedence 1 and then transmits the packet
•
During congestion, discards Gold packets with IP precedence level 2 or 3 before discarding other
packets
Default Traffic
•
Uses the Default-Meter policy to police default traffic (see
Example 13-4 on page 13-16
)
–
Guarantees default traffic a minimum of 10 percent of the total transmission capacity
–
Marks any traffic that exceeds 10 percent with IP precedence 4 and then transmits the packet
•
During congestion, discards default packets with IP precedence level 1 before discarding other
packets
Step 3
Router(config-pmap-c)#
priority
(Optional) Assigns strict priority to the traffic class.
Note
For Cisco IOS Release 12.0(25)S and Release 12.3(7)XI,
and later releases, the
priority
command has no
arguments. To specify a bandwidth rate, use the
police
command (see
Chapter 6, “Policing Traffic”
).
Step 4
Router(config-pmap-c)#
bandwidth
{
bandwidth-kbps
|
percent
percentage
|
remaining percent
percentage
}
(Optional) Specifies the bandwidth allocated for a traffic class.
Note
Do not enter the
bandwidth
command if you configure
the
priority
command.
Step 5
Router(config-pmap-c)#
random-detect
dscp-based
(Optional) Enables DSCP-based WRED.
Step 6
Router(config-pmap-c)#
random-detect dscp
dscpvalue min-threshold max-threshold
[
mark-probability-denominator
]
(Optional) Specifies a packet drop policy based on the DSCP
value you specify.
For more information, see
Chapter 11, “Managing Packet Queue
Congestion.”
Step 7
Router(config-pmap-c)#
service-policy
policy-map-name
Applies the bottom-level child policy map to the traffic class. Do
not specify an
input
or
output
keyword.
policy-map-name
is the name of a previously configured
bottom-level child policy map.
Command
Purpose