cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
540
Views
0
Helpful
3
Replies

Custom Queuing - Byte-Count vs Packet Limit in a Queue

kfarrington
Level 3
Level 3

Good morning all. I hope everyone is very well.

I have just configured the below, and it shows that I can have, both byte-count, and a packet-count for Queue 5.

What takes precedence for the scheduler to move onto the next queue?

Kind regards,

Ken

Dual3(config-subif)#queue-list 11 protocol ip 1 list 15

Dual3(config)#queue-list 11 protocol ip 2 tcp 8080

Dual3(config)#queue-list 11 protocol ip 3 udp netbios-dgm

Dual3(config)#queue-list 11 protocol ip 4 tcp 23

Dual3(config)#queue-list 11 default 5

Dual3(config)#queue-list 11 queue 1 byte-count 5000

Dual3(config)#queue-list 11 queue 2 byte-count 1250

Dual3(config)#queue-list 11 queue 4 byte-count 4000

Dual3(config)#queue-list 11 queue 5 byte-count 2000

Dual3(config)#queue-list 11 queue 5 limit 40

Dual3(config)#access-list 15 permit 155.195.0.0 0.0.255.255

Dual3(config)#interface e0/1

Dual3(config-if)# custom-queue-list 11

Dual3(config-if)#

Dual3(config-if)#^Z

Dual3#show queueing custom

*May 10 18:59:57 BST: %SYS-5-CONFIG_I: Configured from console by console

Current custom queue configuration:

List Queue Args

11 5 default

11 1 protocol ip list 15

11 2 protocol ip tcp port 8080

11 3 protocol ip udp port netbios-dgm

11 4 protocol ip tcp port telnet

11 1 byte-count 5000

11 2 byte-count 1250

11 4 byte-count 4000

11 5 byte-count 2000 limit 40

Dual3#

1 Accepted Solution

Accepted Solutions

Ken

You can define either or both of byte count or packet count to define a threshold for custom queuing at which it should move on to the next queue. It is my understanding that when you have both byte count and packet count configured the first one to get satisfied will cause it to move on to the next queue.

If you do not define which queue is the default custom queuing will treat queue 1 as the default.

HTH

Rick

HTH

Rick

View solution in original post

3 Replies 3

kfarrington
Level 3
Level 3

Also, What happens if you do not speficify a default queue within custom queueing?

Priority queueing just whackes it in the normal queue does it not? Custom queuing? just a thought :)

Below I remove it.

Dual3#sh queueing custom

Current custom queue configuration:

List Queue Args

11 5 default

11 1 protocol ip list 15

11 2 protocol ip tcp port 8080

11 3 protocol ip udp port netbios-dgm

11 4 protocol ip tcp port telnet

11 1 byte-count 5000

11 2 byte-count 1250

11 4 byte-count 4000

11 5 byte-count 2000 limit 40

Dual3#

Dual3#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Dual3(config)#no queue-list 11 protocol ip 1 list 15

Dual3(config)#no queue-list 11 protocol ip 2 tcp 8080

Dual3(config)#no queue-list 11 protocol ip 3 udp netbios-dgm

Dual3(config)#no queue-list 11 protocol ip 4 tcp telnet

Dual3(config)#no queue-list 11 default 5

Dual3(config)#no queue-list 11 queue 1 byte-count 5000

Dual3(config)#no queue-list 11 queue 2 byte-count 1250

Dual3(config)#no queue-list 11 queue 4 byte-count 4000

Dual3(config)#no queue-list 11 queue 5 byte-count 2000 limit 40

Dual3(config)#

Dual3(config)#

Dual3(config)#^Z

Dual3#sh queueing custom

*May 10 21:55:38 BST: %SYS-5-CONFIG_I: Configured from console by console

Current custom queue configuration:

List Queue Args

Dual3#

Dual3#sh queueing custom

Current custom queue configuration:

List Queue Args

Dual3#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Dual3(config)#queue-list 11 protocol ip 1 list 15

Dual3(config)#queue-list 11 protocol ip 2 tcp 8080

Dual3(config)#queue-list 11 protocol ip 3 udp netbios-dgm

Dual3(config)#queue-list 11 protocol ip 4 tcp telnet

Dual3(config)#queue-list 11 queue 1 byte-count 5000

Dual3(config)#queue-list 11 queue 2 byte-count 1250

Dual3(config)#queue-list 11 queue 4 byte-count 4000

Dual3(config)#queue-list 11 queue 5 byte-count 2000 limit 40

Dual3(config)#

Dual3(config)#^Z

Dual3#sh queueing custom

*May 10 21:56:12 BST: %SYS-5-CONFIG_I: Configured from

Dual3#sh queueing custom

Current custom queue configuration:

List Queue Args

11 1 protocol ip list 15

11 2 protocol ip tcp port 8080

11 3 protocol ip udp port netbios-dgm

11 4 protocol ip tcp port telnet

11 1 byte-count 5000

11 2 byte-count 1250

11 4 byte-count 4000

11 5 byte-count 2000 limit 40

Dual3#

Dual3#

Ken

You can define either or both of byte count or packet count to define a threshold for custom queuing at which it should move on to the next queue. It is my understanding that when you have both byte count and packet count configured the first one to get satisfied will cause it to move on to the next queue.

If you do not define which queue is the default custom queuing will treat queue 1 as the default.

HTH

Rick

HTH

Rick

Brilliant!

Many thx fella, Im sure I owe you beers now :)

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: