|
|
To assign a priority queue for those packets that do not match any other rule in the queue list, use the queue-list default global configuration command. To restore the default value, use the no form of this command.
queue-list list-number default queue-number| list-number | Number of the queue list. An integer from 1 to 16. |
| queue-number | Number of the queue. An integer from 1 to 16. |
Queue number 1.
Global configuration.
Queue number 0 is a system queue. It is emptied before any of the other queues are processed. The system enqueues high-priority packets, such as keepalive, to this queue.
In the following example, the default queue for list 10 is set to queue number 2.
queue-list 10 default 2
custom-queue-list
show queueing
To establish queuing priorities on packets entering on an interface, use the queue-list interface global configuration command. To remove an entry from the list, use the no form of the command.
queue-list list-number interface interface-type interface-number queue-number| list-number | Number of the queue list. An integer from 1 to 16. |
| interface-type | Required argument that specifies the name of the interface. |
| interface-number | Number of the specified interface. |
| queue-number | Number of the queue. An integer from 1 to 16. |
No queuing priorities are established.
Global configuration.
In the following example, queue list 4 establishes queuing priorities for packets entering on interface tunnel 3. The queue number assigned is 10.
queue-list 4 interface tunnel 3 10
custom-queue-list
show queueing
To establish queuing priority based on the protocol type, use the queue-list protocol global configuration command. Use the no form of this command with the appropriate list number to remove an entry from the list.
queue-list list-number protocol protocol-name queue-number queue-keyword keyword-value| list-number | Number of the queue list. An integer from 1 to 16. |
| protocol-name | Required argument that specifies the protocol type is ip. |
| queue-number | Number of the queue. An integer from 1 to 16. |
| queue-keyword keyword-value | Possible keywords are gt, lt, list, tcp, and udp. See Table 13-4. |
No queuing priorities are established.
Global configuration.
When classifying a packet, the system searches the list of rules specified by queue-list commands for a matching protocol type. When a match is found, the packet is assigned to the appropriate queue. The list is searched in the order it is specified, and the first matching rule terminates the search.
Use Table 13-4, Table 13-5, and Table 13-6 from the priority-list protocol command to configure custom queuing for your system.
The following example assigns traffic that matches IP access list 10 to queue number 1.
queue-list 1 protocol ip 1 list 10
The following example assigns Telnet packets to queue number 2.
queue-list 4 protocol ip 2 tcp 23
custom-queue-list
show queueing
To designate the byte size allowed per queue, use the queue-list queue byte-count global configuration command. To return the byte size to the default value, use the no form of the command.
queue-list list-number queue queue-number byte-count byte-count-number| list-number | Number of the queue list. An integer from 1 to 16. |
| queue-number | Number of the queue. An integer from 1 to 16. |
| byte-count-number | Specifies the lower boundary on how many bytes the system allows to be delivered from a given queue during a particular cycle. |
1500 bytes.
Global configuration.
In the following example, queue list 9 establishes the byte-count as 1400 for queue number 10.
queue-list 9 queue 10 byte-count 1400
custom-queue-list
show queueing
To designate the queue length limit for a queue, use the queue-list queue limit global configuration command. To return the queue length to the default value, use the no form of the command.
queue-list list-number queue queue-number limit limit-number| list-number | Number of the queue list. An integer from 1 to 16. |
| queue-number | Number of the queue. An integer from 1 to 16. |
| limit-number | Maximum number of packets that can be enqueued at any time. The range is 0 to 32,767 queue entries. |
20 entries.
Global configuration.
In the following example, the queue length of queue 10 is increased to 40.
queue-list 5 queue 10 limit 40
custom-queue-list
show queueing
To establish queuing priorities based on the address of the serial link on a STUN connection, use the queue-list stun global configuration command. Use the no form of this command with the appropriate arguments to remove an entry from the list.
queue-list list-number stun queue-number address group-number address-number| list-number | Number of the queue list. An integer from 1 to 16. |
| queue-number | Queue number in the range from 1 to 16. |
| address | Required keyword. |
| group-number | Group number used in the stun group command. |
| address-number | Address of the serial link. The format of the address is either a 1-byte hex value (for example, C1) for an SDLC link or one that is specified by the stun schema configuration command. |
None.
Global configuration.
The following example causes the system to place STUN traffic matching the STUN group number 2 and address C1 onto queue number 3.
queue-list 3 stun 3 address 2 c1
custom-queue-list
show queueing
|
|