queue mode wrr
Global Mode
wrr-queue cos-map <queue-id> <cos1 ...
cos8>
no wrr-queue cos-map
6. Configure QoS mapping
Command
Global Mode
mls qos map {cos-dscp <dscp1...dscp8> |
dscp-cos
<dscp-list>
dscp-mutation
<dscp-mutation-name>
<out-dscp> |ip-prec-dscp <dscp1...dscp8> |
policed-dscp
<mark-down-dscp>}
no mls qos map {cos-dscp | dscp-cos |
dscp-mutation
<dscp-mutation-name>
ip-prec-dscp | policed-dscp}
8.1.3 Commands for QoS
8.1.3.1 class
Command: class <class-map-name>
no class <class-map-name>
Function: Associates a class to a policy map and enters the policy class map mode; the
"no class <class-map-name>" command deletes the specified class.
Parameters: < class-map-name> is the class map name used by the class.
Default: No policy class is configured by default.
Command mode: Policy map configuration Mode
Usage Guide: Before setting up a policy class, a policy map should be created and the
policy map mode entered. In the policy map mode, classification and policy configuration
can be performed on packet traffic classified by class map.
Example: Entering a policy class mode.
Switch(Config)#policy-map p1
to
<cos>
<in-dscp>
<dscp-list>
263
method;
the
"queue
command restores the default WRR
queue out method.
Set CoS value mapping to specified
egress queue; the "no wrr-queue
command
cos-map"
default setting.
Explanation
Set CoS to DSCP mapping, DSCP
to CoS mapping, DSCP to DSCP
|
mutation mapping, IP precedence to
DSCP and policed DSCP mapping;
to
the "no mls qos map {cos-dscp |
to
dscp-cos
|
<dscp-mutation-name>
ip-prec-dscp
command
restores
|
mapping.
mode
wrr"
restores
the
dscp-mutation
|
|
policed-dscp}"
the
default