Using Custom Queues with Priority Queues
Problem
You want to combine Custom Queuing with Priority Queuing on an interface so the highest priority packets are always handled first, and lower priority traffic streams share bandwidth with one another.
Solution
You can split the queues so that some use Priority Queuing and the remainder Custom Queuing:
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. Router(config)#access-list
101
permit ip any any precedence
Router(config)#
7
access-list
102
permit ip any any precedence
Router(config)#
6
access-list
103
permit ip any any precedence
Router(config)#
5
access-list
104
permit ip any any precedence
Router(config)#
4
access-list
105
permit ip any any precedence
Router(config)#
3
access-list
106
permit ip any any precedence
Router(config)#
2
access-list
107
permit ip any any precedence
Router(config)#
1
queue-list
1
protocol ip
1
list
Router(config)#
101
queue-list
1
protocol ip
2
list
Router(config)#
102
queue-list
1
protocol ip
3
list
Router(config)#
103
queue-list
1
protocol ip
4
list
Router(config)#
104
queue-list
1
protocol ip
5
list
Router(config)#
105
queue-list
1
protocol ip
6
list
Router(config)#
106
queue-list
1
protocol ip
7
list
Router(config)#
107
queue-list
1
lowest-custom
Router(config)#
4
interface
Router(config-if)#
HSSI0/0
custom-queue-list
Router(config-if)#
1
exit
Router(config)#end
Router#
Discussion
This example is similar to Recipe 11.4, which looked at a pure Custom Queuing example. In this case, however, ...
Get Cisco IOS Cookbook, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.