mac

206
Example: 1. Setting the CoS-to-INTP mapping value to the default 0 8 16 24 32 40 48 56
to 0 1 2 3 3 2 1 0.
Switch(config)#mls qos map cos-intp 0 1 2 3 3 2 1 0
7.11 mls qos queue algorithm
Command: mls qos queue algorithm {sp | wrr}
no mls qos queue algorithm
Function: After configure this command, the queue management algorithm is set.
Parameters: sp: The strict priority, the queue number of bigger, then the priority is higher
wrr: Select wrr algorithm
Default: The default queue algorithm is wrr.
Command mode: Global Mode.
Usage Guide: After configure this command, the queue management algorithm is set.
Example: Setting the queue management algorithm as sp.
Switch(config)#mls qos queue algorithm sp
7.12 mls qos queue weight
Command: mls qos queue weight <weight0..weight3>
no mls qos queue weight
Function: After configure this command, the queue weight is set.
Parameters: <weight0..weight3> defines the queue weight, for WRR algorithm, this
configuration is valid, but SP algorithm is invalid. when the weight is 0, this queue adopts
SP algorithm to manage, and WRR algorithm turns into SP+WRR algorithm. The absolute
value of WRR is meaningless. WRR allocates bandwidth by using 4 weight values. The
different chips support the different weight range, if the setting exceeds the chip range, it
will prompt the right range.
Default: The queue weight is 1 2 3 4.
Command mode: Global Mode.
Usage Guide: The absolute value of WRR is meaningless. WRR allocates bandwidth by
using 4 weight values. If it is set as 0, the priority of the queue is highest. If more queues
are set as 0, the queue with the higher priority will be higher than before. Note: only one
or two queues can be set as 0 and must be set at behind.
Example: Configure the queue weight as 1 2 3 4.
Switch(config)#mls qos queue weight 1 2 3 4