Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)

PurposeCommand or Action
qos-groups 0 and 1 are reserved for default
classes and cannot be configured.
Note
(Optional)
Removes the match from the traffic class.
switch(config-cmap-que)# no match
qos-group qos-group-value
Step 4
This example shows how to classify traffic based on the value of the QoS group:
switch# configure terminal
switch(config)# class-map type queuing class_qos_group
switch(config-cmap-que)# match qos-group 4
Use the show class-map command to display the QoS group class-map configuration:
switch# show class-map class_qos_group
Configuring Policy Maps
The policy-map command is used to create a named object that represents a set of policies that are to be
applied to a set of traffic classes.
The switch provides two default system classes: a no-drop class for lossless service (class-fcoe) and a drop
class for best-effort service (class-default). You can define up to four additional system classes for Ethernet
traffic.
The following predefined policy maps are used as default service policies:
network-qos: default-nq-policy
Input qos: default-in-policy
Input queuing: default-in-policy
Output queuing: default-out-policy
You need to create a policy map to specify the policies for any user-defined class. In the policy map, you can
configure the QoS parameters for each class. You can use the same policy map to modify the configuration
of the default classes.
The switch distributes all the policy-map configuration values to the attached network adapters.
Before You Begin
Before creating the policy map, define a class map for each new system class.
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Creates a named object representing a set of policies that are
to be applied to a set of traffic classes. Policy-map names can
switch(config)# policy-map [type
{network-qos | qos | queuing}]
policy-name
Step 2
contain alphabetic, hyphen, or underscore characters, are case
sensitive, and can be up to 40 characters.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01 437
Configuring System Classes
Configuring Policy Maps