|
|
This chapter describes the tasks for configuring priority queueing on a router. For a complete description of the commands mentioned in this chapter, refer to the Quality of Service Solutions Command Reference; the commands are listed alphabetically within that guide. To locate documentation of specific commands, use the command reference, master index, or search online.
You must follow certain required, basic steps to enable priority queueing in your network. The following sections outline these tasks:
See the section "Priority Queueing Configuration Examples" later in this chapter for ideas of how to configure priority queueing on your network.
A priority list contains the definitions for a set of priority queues. The priority list specifies which queue a packet will be placed in and, optionally, the maximum length of the different queues.
In order to perform queueing using a priority list, you must assign the list to an interface. The same priority list can be applied to multiple interfaces. Alternatively, you can create many different priority policies to apply to different interfaces.
To define a priority list, perform the tasks in the following sections. The second task is optional.
Assign packets to priority queues based on the following:
You can specify multiple assignment rules. The priority-list commands are read in order of appearance until a matching protocol or interface type is found. When a match is found, the packet is assigned to the appropriate queue and the search ends. Packets that do not match other assignment rules are assigned to the default queue.
To specify which queue to place a packet in, use the following commands in global configuration mode:
1 priority-list list-number protocol protocol-name Establish queueing priorities based upon the protocol type. 2 priority-list list-number interface interface-type Establish queueing priorities for packets entering from a given interface. 3 priority-list list-number default {high | medium | Assign a priority queue for those packets that do not match any other rule in the priority list.
Step
Command
Purpose
{high | medium | normal | low} queue-keyword
keyword-value
interface-number {high | medium | normal |
low}
normal | low}
All protocols supported by Cisco are allowed. The queue-keyword variable provides additional options including byte count, Transmission Control Protocol (TCP) service and port number assignments, and AppleTalk, IP, IPX, VINES, or XNS access list assignments.
You can specify the maximum number of packets allowed in each of the priority queues. Perform this task for each priority list.
To do so, use the following command in global configuration mode:
priority-list list-number queue-limit [high-limit Specify the maximum number of packets allowed in each of the priority queues.
Command
Purpose
[medium-limit [normal-limit [low-limit]]]
The default queue limit arguments are listed in Table 7.
| Priority Queue Argument | Packet Limits |
|---|---|
high-limit | 20 |
medium-limit | 40 |
normal-limit | 60 |
low-limit | 80 |
You can assign a priority list number to an interface. Only one list can be assigned per interface. To assign a priority group to an interface, use the following commands:
1 interface interface-type interface-number Specify the interface, and then enter interface configuration mode. 2 Assign a priority list number to the interface.
Step
Command
Purpose
To display information about the input and output queues, use the following command in EXEC mode:
Show the status of the priority queueing lists.
Command
Purpose
This section provides examples of priority queueing configurations. It includes the following examples:
This example establishes queueing based on protocol type. The example assigns 1 as the arbitrary priority list number, specifies IP as the protocol type, and assigns a high priority level to traffic that matches IP access list 10.
access-list 10 permit 239.1.1.0 0.0.0.255 priority-list 1 protocol ip high list 10
This example establishes queueing based on interface. The example sets any packet type entering on Ethernet interface 0 to a medium priority.
priority-list 3 interface ethernet 0 medium
This example changes the maximum number of packets in the high priority queue to 10. The medium-, normal, and low-limit queue sizes remain at their default 40-, 60-, and 80-packet limits.
priority-list 4 queue-limit 10 40 60 80
This example assigns priority group list 4 to serial interface 0:
interface serial 0 priority-group 4
When classifying a packet, the system searches the list of rules specified by priority-list commands for a matching protocol type. The following example specifies four rules:
Remember that when using multiple rules for a single protocol, the system reads the priority settings in the order of appearance.
priority-list 4 protocol decnet medium lt 200 priority-list 4 protocol ip medium tcp 23 priority-list 4 protocol ip medium udp 53 priority-list 4 protocol ip high
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Thu Jun 3 14:27:07 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.