mac

Commands for QoS
248
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
18.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
18.12 mls qos queue drop-algorithm
This command is not supported by switch.
18.13 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