Configuring egress queue shaping

This example shows how to apply egress queue shaping to an interface. 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. The profile is then applied to interface 1/1/1.

switch(config)# qos schedule-profile EQSExample switch(config-schedule)# strict queue 0 switch(config-schedule)# strict queue 1 max-bandwidth 10000000 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 switch(config-schedule)# exit switch(config)# interface 1/1/1 switch(config-if)# apply qos schedule-profile EQSExample