Procedure
Purpose
Command or Action
Enters global configuration mode.
switch#
configure terminal
Step 1
Creates or accesses the policy map named
policy-map-name
and enters policy-map mode.
switch(config) #
policy-map
[
type
network-qos
]
policy-map name
Step 2
The policy-map name can contain alphabetic, hyphen, or
underscore characters, is case sensitive, and can be up to
40 characters.
Creates a reference to the
class-map-name
and enters
policy-map class configuration mode.
switch(config-pmap-nq) #
class
[
type
network-qos
] {
class-map name
|
class-default
}
Step 3
Use the
class-default
keyword to select all traffic that is
not currently matched by classes in the policy map.
Specifies the CoS value to cos-value.
switch(config-pmap-c-nq) #
set cos
cos-value
Step 4
The
cos-value
can range from 0 to 7.
This command is supported only for egress
policies.
Note
Required CoS Marking Configuration in a Layer 3 Topology
In Layer 3 topologies, you must configure each QoS group in the network-qos policy with a unique cos value.
Procedure
Purpose
Command or Action
Displays the already configured policy maps and CoS values.
switch#
show policy-map system
Step 1
In Layer 3 topologies, each qosgroup must have a unique CoS
value. Use the
show policy-map system
command to view
CoS values that have been used and that are unavailable for
QoS groups.
Enters global configuration mode.
switch#
configure terminal
Step 2
Creates or accesses the policy map named
policy-map-name
and enters policy-map mode.
switch(config) #
policy-map
[
type network-qos
]
policy-map
name
Step 3
The policy-map name can contain alphabetic, hyphen, or
underscore characters, is case sensitive, and can be up to 40
characters.
Creates a reference to the class-map-name and enters
policy-map class configuration mode.
switch(config-pmap-nq) #
class
[
type network-qos
] {
class-map
name
|
class-default
}
Step 4
Cisco Nexus 5000 NX-OS Quality of Service Configuration Guide, Release 5.1(3)N2(1)
OL-26657-01
31
Configuring Marking
Required CoS Marking Configuration in a Layer 3 Topology