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

PurposeCommand or Action
The three policy-map configuration modes are as follows:
network-qos—Network-wide (global) mode. CLI prompt:
switch(config-pmap-nq)#
qos—Classification mode; this is the default mode. CLI
prompt: switch(config-pmap-qos)#
queuing—Queuing mode. CLI prompt:
switch(config-pmap-que)#
(Optional)
Deletes the specified policy map.
switch(config)# no policy-map
[type {network-qos | qos |
queuing}] policy-name
Step 3
Associates a class map with the policy map, and enters
configuration mode for the specified system class. The three
class-map configuration modes are as follows:
switch(config-pmap)# class [type
{network-qos | qos | queuing}]
class-name
Step 4
network-qos—Network-wide (global) mode. CLI prompt:
switch(config-pmap-c-nq)#
qos—Classification mode; this is the default mode. CLI
prompt: switch(config-pmap-c-qos)#
queuing—Queuing mode. CLI prompt:
switch(config-pmap-c-que)#
The associated class map must be the same type as
the policy-map type.
Note
(Optional)
Deletes the class map association.
switch(config-pmap)# no class
[type {network-qos | qos |
queuing}] class-name
Step 5
Configuring Type Network QoS Policies
Type network qos policies can only be configured on the system qos attachment point. They are applied to
the entire switch for a particular class.
Procedure
PurposeCommand or Action
Enters 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 names
switch(config)# policy-map type
network-qos policy-name
Step 2
can 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
438 OL-16597-01
Configuring System Classes
Configuring Type Network QoS Policies