Configuring egress queue shaping

This example shows how to apply egress queue shaping to an interface. To do this, first a schedule profile is created that has per-queue bandwidth limits set on all queues with strict as the scheduling algorithm. Next, this profile is applied to an interface or LAG.

The following example creates a schedule profile named EQSExample, which services all seven queues using strict priority. This profile configures queues 1, 4, and 7 with a bandwidth limit of 10 Gbps, 20 Gbps, and 30 Gbps respectively. Also, queues 1 and 7 are configured with a burst of 120 KB. The profile is then applied to interface 1/1/1. (The actual burst and bandwidth configured on the interface can be found by using the show interface <IFNAME> qos command.)

switch(config)# qos schedule-profile EQSExample
switch(config-schedule)# strict queue 0
switch(config-schedule)# strict queue 1 max-bandwidth 10000000 burst 120
switch(config-schedule)# strict queue 2
switch(config-schedule)# strict queue 3
switch(config-schedule)# strict queue 4 max-bandwidth 20000000
switch(config-schedule)# strict queue 5
switch(config-schedule)# strict queue 6
switch(config-schedule)# strict queue 7 max-bandwidth 30000000 burst 120
switch(config-schedule)# exit
switch(config)# interface 1/1/1
switch(config-if)# apply qos schedule-profile EQSExample