Configuring egress queue shaping
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 eight 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 (burst configuration is only supported on the 8320 and 8325). 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