Purpose
Command or Action
Specifies the CoS value to match. The range is from 0
to 7.
switch(config-cmap-qos)#
match cos
cos value
Step 6
Exits class-map configuration mode and enters global
configuration mode.
switch(config-cmap-qos)#
exit
Step 7
Creates a class map that defines a queuing class of
traffic and enters the class-map configuration mode.
switch(config)#
class-map type
queuing class-map-name
Step 8
Configures a traffic class that matches the QoS group
values.
switch(config-cmap-que)#
match
qos-group qos-group-list
Step 9
This example shows how to identify iSCSI and FCoE traffic.
switch#
configure terminal
switch(config)#
class-map type qos class-fcoe
switch(config-cmap-qos)#
exit
switch(config)#
class-map type qos match-all c1
switch(config-cmap-qos)#
match protocol iscsi
switch(config-cmap-qos)#
match cos 6
switch(config-cmap-qos)#
exit
switch(config)#
class-map type queuing class-fcoe
switch(config-cmap-que)#
match qos-group 1
Configuring Type QoS Policies
Type qos policies are used for classifying the traffic of a specific system class identified by a unique qos-group
value. A type qos policy can be attached to the system or to individual interfaces (including Fabric Extender
host interfaces) for input traffic only.
Procedure
Purpose
Command or Action
Enters global configuration mode.
switch#
configure terminal
Step 1
Creates a named object that represents a set of policies that
are to be applied to a set of traffic classes. Policy-map
switch(config)#
policy-map
[
type
qos
]
policy-name
Step 2
names can contain alphabetic, hyphen, or underscore
characters, are case sensitive, and can be up to 40
characters.
Specifies a class map for a policy map.
switch(config-pmap-qos)#
class
class-name
Step 3
Cisco Nexus 5500 Series NX-OS SAN Switching Configuration Guide, Release 7.x
208
OL-30895-01
Configuring iSCSI TLV
Configuring Type QoS Policies