Allocating Bandwidth for Hybrid WRR and SP Queues
Follow these steps to change the default bandwidth percentages for the queues when
the device is configured to use the combined SP and WRR queuing mechanism.
- Enter global configuration mode.
- Change minimum percentage of a port outbound bandwidth guaranteed to the queues.
device(config)# qos profile qosp7 sp qosp6 sp qosp5 20 qosp4 15 qosp3 15 qosp2 20 qosp1 15 qosp0 15 bandwidth scheduling mechanism: mixed weighted priority with strict priority Unicast Traffic Profile qosp7: Priority7(Highest) Set as strict priority Profile qosp6: Priority6 Set as strict priority Profile qosp5: Priority5 bandwidth requested 20% calculated 20% Profile qosp4: Priority4 bandwidth requested 15% calculated 15% Profile qosp3: Priority3 bandwidth requested 15% calculated 15% Profile qosp2: Priority2 bandwidth requested 20% calculated 20% Profile qosp1: Priority1 bandwidth requested 15% calculated 15% Profile qosp0: Priority0(Lowest) bandwidth requested 15% calculated 15% Multicast Traffic Profile qosp7+qosp6 : Priority7(Highest),6 Set as strict priority Profile qosp5+qosp4+qosp3+qosp2: Priority5,4,3,2 bandwidth requested 70% calculated 70% Profile qosp1+qosp0 : Priority1,0(Lowest) bandwidth requested 30% calculated 30%
The assigned bandwidths must total 100%. The configuration is immediately verified by the command output. - Return to privileged EXEC mode.
- Display all QoS configuration settings.
device# show running-config | include qos qos mechanism mixed-sp-wrr qos profile qosp7 sp qosp6 sp qosp5 20 qosp4 15 qosp3 15 qosp2 20 qosp1 15 qosp0 15 qos scheduler-profile voice mechanism mixed-sp-wrr qos scheduler-profile voice profile qosp0 15 qosp1 15 qosp2 15 qosp3 15 qosp4 15 qosp5 25 qosp6 sp qosp7 sp qos scheduler-profile voice guaranteed-rate qosp0 5 qosp1 5 qosp2 5 qosp3 5 qosp4 5 qosp5 25 qosp6 5 qosp7 5 qos priority-to-pg qosp0 0 qosp1 0 qosp2 1 qosp3 1 qosp4 1 qosp5 2 qosp6 3 qosp7 4 qos guaranteed-rate qosp7 10 qosp6 10 qosp5 10 qosp4 10 qosp3 15 qosp2 15 qosp1 10 qosp0 10 qos tagged-priority 2 qosp0 qos-tos map dscp-priority 32 to 0 qos-tos map dscp-priority 0 to 1 qos-tos map dscp-priority 24 to 2 qos-tos map dscp-priority 48 to 3 qos-tos map dscp-priority 16 to 4 qos-tos map dscp-priority 1 2 3 4 5 6 7 8 to 6 qos-tos map dscp-priority 56 to 6 qos-tos map dscp-priority 40 to 7
- Display information about QoS profiles.
device# show qos-profiles all bandwidth scheduling mechanism: mixed weighted priority with strict priority Unicast Traffic Profile qosp7: Priority7(Highest) Set as strict priority Profile qosp6: Priority6 Set as strict priority Profile qosp5: Priority5 bandwidth requested 20% calculated 20% Profile qosp4: Priority4 bandwidth requested 15% calculated 15% Profile qosp3: Priority3 bandwidth requested 15% calculated 15% Profile qosp2: Priority2 bandwidth requested 20% calculated 20% Profile qosp1: Priority1 bandwidth requested 15% calculated 15% Profile qosp0: Priority0(Lowest) bandwidth requested 15% calculated 15% Multicast Traffic Profile qosp7+qosp6 : Priority7(Highest),6 Set as strict priority Profile qosp5+qosp4+qosp3+qosp2: Priority5,4,3,2 bandwidth requested 70% calculated 70% Profile qosp1+qosp0 : Priority1,0(Lowest) bandwidth requested 30% calculated 30%
- Save the configuration.