Configuring Queuing and Scheduling on M-Series I/O Modules
Note
Defining the CoS with the match cos command is not supported for custom configured class-maps.
The device automatically modifies the CoS values that you configured in other queues so that each CoS value
appears only once in the queues of the same type.
Before you begin
Ensure that you are in the default VDC for the device.
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Modifying Queuing Class Maps for DSCP
You can modify the DSCP values that are matched by system-defined class maps. The system-defined class
maps can be changed only from the default VDC. Changes occur immediately and are applied to all ports on
all VDCs that use the modified class map.
To allow the modifications to be implemented, the DSCP-to-queue mapping must be enabled. If you have
not enabled the DSCP-to-queue mapping earlier, you can use the hardware qos dscp-to-queue ingress
module type command to enable DSCP-to-queue mapping.
Command or Action
switch# configure terminal
switch(config)# class-map type queuing
match-any {class-queuing-name | WORD}
switch(config-cmap-que)# match cos
value-range
switch(config-pmap-c-que)# exit
(Optional) switch(config)# show policy-map
type queuing [policy-map-name |
que-dynamic]
(Optional) switch(config)# copy
running-config startup-config
Cisco Nexus 7000 Series NX-OS Quality of Service Configuration Guide
Modifying Queuing Class Maps for DSCP
Purpose
Enters global configuration mode.
Configures the class map of type queuing, and
then enters class-map queuing mode.
The match on WORD is used for defining
hierarchical class-maps in a queuing policy. The
argument, WORD, is supported only on the
F-Series Modules.
Sets the CoS value range matched by this queue.
You can specify a range of values by using a
hyphen between the beginning and ending
values and a comma between values. The range
is from 0 to 7.
Note
Repeat Steps 2 and 3 to modify CoS
values for additional queues.
Exits policy-map queue mode, and enters global
configuration mode.
Displays information about all configured
policy maps or a selected policy map of type
queuing.
Saves the running configuration to the startup
configuration.
97