273
Command:mls qos
no mls qos
Function:
Enables QoS in Global Mode; the “
no mls qos
” command disables the global
QoS.
Command mode:
Global Mode
Default:
QoS is disabled by default.
Usage Guide:
QoS provides 8 queues to handle traffics of 8 priorities. This function
cannot be used with the traffic control function.
Example:
Enable and then disabling the QoS function.
Switch(Config)#mls qos
Switch(Config)#no mls qos
9.1.3.6 mls qos cos
Command:mls qos cos {<default-cos> }
no mls qos cos
Function:
Configures the default CoS value of the port; the “
no mls qos cos
” command
restores the default setting.
Parameters:
< default-cos>
is the default CoS value for the port, the valid range is 0 to
7.
Default:
The default CoS value is 0.
Command mode:
Interface Mode
Usage Guide:
Example:
Setting the default CoS value of Ethernet port 1/1 to 5, i.e., packets coming in
through this port will be assigned a default CoS value of 5 if no CoS value present.
Switch(Config)#interface ethernet 1/1
Switch(Config-Ethernet1/1)#mls qos cos 5
9.1.3.7 mls qos aggregate-policer
Command:mls qos aggregate-policer <aggregate-policer-name> <rate-kbps>
<burst-kbyte> exceed-action {drop |policed-dscp-transmit}]
no mls qos aggregate-policer <aggregate-policer-name>
Function:
Defines a policy set that can be used in one policy map by several classes;
the “
no mls qos aggregate-policer <aggregate-policer-name>
“ command deletes the
specified policy set.
Parameters:
<aggregate-policer-name>
is the name of the policy set;
<rate-kbps>
is
the average baud rate (in kb/s) of classified traffic, range from 1,000 to 10,000,000;
<burst-kbyte>
is the burst value (in kb/s) for classified traffic, range from 1 to 1,000,000;
exceed-action drop
means drop packets when specified speed is exceeded;