Purpose
Command or Action
Enters system class configuration mode.
switch(config)#
system qos
Step 2
Attaches a policy map of type qos to an
interface.
switch(config-sys-qos)#
service-policy
{
type
{
qos input
}}
policy-map-name
Step 3
Attaches a policy map of type network-qos
to an interface.
switch(config-sys-qos)#
service-policy
{
type
{
network-qos
}}
policy-map-name
Step 4
This example shows how to apply system service policies.
switch#
configure terminal
switch(config)#
system qos
switch(config-sys-qos)#
service-policy type qos input c1
switch(config-sys-qos)#
service-policy type network-qos p1
iSCSI TLV and FCoE Configuration
Identifying iSCSI and FCoE Traffic
You can define a class map for each class of traffic to be used in QoS policies.
If the packet matches any of the criteria configured for this class map with the match command, then this class
map is applied to the packet. If no execution strategy is specified (match-any or match-all), then the default
value of match-any is applied to the traffic class.
Procedure
Purpose
Command or Action
Enters global configuration mode.
switch#
configure terminal
Step 1
Creates a named object that represents a class of traffic,
and enters class-map mode. Class-map names can
switch(config)#
class-map type qos
class-map-name
Step 2
contain alphabetic, hyphen, or underscore characters,
are case sensitive, and can be up to 40 characters.
Exits class-map configuration mode and enters global
configuration mode.
switch(config-cmap-qos)#
exit
Step 3
Creates a class map, provides conditions for applying
this class map to a packet, and enters the class-map
configuration mode.
switch(config)#
class-map type qos
[
match-all
|
match-any
]
class-map-name
Step 4
Specifies the CoS value to match and specifies which
protocol has to be mapped to a given CoS value.
You are enabling the TLV by typing match
protocol iscsi.
Important
switch(config-cmap-qos)#
match
protocol
[
fcoe
|
iscsi
|
tcp
]
Step 5
Cisco Nexus 5500 Series NX-OS SAN Switching Configuration Guide, Release 7.x
OL-30895-01
207
Configuring iSCSI TLV
iSCSI TLV and FCoE Configuration