315
mls qos map {cos-dscp <dscp1...dscp8> |
dscp-cos <dscp-list> to <cos> |
dscp-mutation
<dscp-mutation-name> <in-dscp> to
<out-dscp> |ip-prec-dscp <dscp1...dscp8> |
policed-dscp <dscp-list> to
<mark-down-dscp>}
no mls qos map {cos-dscp | dscp-cos |
dscp-mutation <dscp-mutation-name> |
ip-prec-dscp | policed-dscp}
Set CoS to DSCP mapping, DSCP
to CoS mapping, DSCP to DSCP
mutation mapping, IP precedence to
DSCP and policed DSCP mapping;
the “no mls qos map {cos-dscp |
dscp-cos | dscp-mutation
<dscp-mutation-name> |
ip-prec-dscp | policed-dscp}”
command restores the default
mapping.
13.1.2.2 QoS Configuration Commands
13.1.2.2.1 mls qos
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/disable QoS function.
Switch(Config)#mls qos
Switch(Config)#no mls qos
13.1.2.2.2 class-map
Command: class-map <class-map-name>
no class-map <class-map-name>
Function: Create a class map and enter class map mode; the “no class-map
<class-map-name>” command deletes the specified class map.
Parameter: <class-map-name> is the class map name.
Default: No class map is configured by default.
Command mode: Global Mode
Example: Create and delete a class map named “c1”.
Switch(Config)#class-map c1