8-9
Cisco 10000 Series Router Quality of Service Configuration Guide
OL-7433-09
Chapter 8 Prioritizing Services
Configuration Examples for Configuring Priority Queues
Configuration Examples for Configuring Priority Queues
This section provides the following configuration examples:
•
Configuring a Priority Queue with a Guaranteed Bandwidth Based on Kilobits per Second:
Example, page 8-9
•
Configuring a Priority Queue with a Percent-Based Bandwidth Guarantee: Example, page 8-9
•
Configuring Multi-Level Priority Queues: Example, page 8-10
•
Unacceptable MPQ Configurations: Examples, page 8-10
Configuring a Priority Queue with a Guaranteed Bandwidth Based on Kilobits
per Second: Example
Example 8-1
shows how to configure a priority queue with a guaranteed bandwidth of 8000 kbps. In the
example, the Voice1 class in the policy map named Gold is configured as the priority queue. The Gold
policy also includes the Voice2 class with a minimum bandwidth guarantee of 48 kbps. The Gold policy
is attached to PVC 0/101 on the outbound ATM subinterface 2/0/0.1.
Example 8-1
Priority Queuing Configuration
Router(config)#
class-map Voice
Router(config-cmap)#
match ip precedence 3
Router(config)#
policy-map Gold
Router(config-pmap)#
class Voice1
Router(config-pmap-c)#
priority
Router(config-pmap-c)#
police 8000
Router(config-pmap)#
class Voice2
Router(config-pmap-c)#
bandwidth 48
Router(config)#
interface atm 2/0/0.1
Router(config-subif)#
pvc 0/101
Router(config-atm-vc)#
ubr 10000
Router(config-atm-vc)#
service-policy output Gold
Configuring a Priority Queue with a Percent-Based Bandwidth Guarantee:
Example
Example 8-2
shows how to configure a priority queue with a minimum bandwidth guarantee based on a
percentage of the link bandwidth. In the example, the policy map named Premium has two traffic classes:
Class1 is configured as the priority queue and has a minimum guaranteed bandwidth of 25 percent of the
link bandwidth and Class2 has a minimum bandwidth guarantee of 48 kbps. The Premium service policy
is attached to the outbound ATM interface 1/0/0.
Example 8-2
Priority Queue with Bandwidth Percentage
Router(config)#
class-map Class1
Router(config-cmap)#
match ip dscp ef
Router(config)#
policy-map Premium
Router(config-pmap)#
class Class1
Router(config-pmap-c)#
priority
Router(config-pmap-c)#
police percent 25
Router(config-pmap)#
class Class2