Configuring Policy Maps
Command or Action
Step 5
switch(config-pmap)# no class [type
{network-qos | qos | queuing}]
class-name
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 ingress traffic only.
Beginning with Cisco Release NX-OS Release 5.0(2)N1(1), for the Cisco Nexus 5548 switch, you can set a
maximum of five qos groups for ingress traffic.
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# policy-map type qos policy-name
3. switch(config-pmap-qos)# class type qos class-name
4. switch(config-pmap-c-qos)# set qos-group qos-group-value
5. (Optional) switch(config-pmap-c-qos)# no set qos-group qos-group-value
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# policy-map type qos
policy-name
Step 3
switch(config-pmap-qos)# class type qos
class-name
Step 4
switch(config-pmap-c-qos)# set
qos-group qos-group-value
Cisco Nexus 5000 Series NX-OS Quality of Service Configuration Guide
26
Purpose
The associated class map must be the same type as the policy-map
Note
type.
(Optional)
Deletes the class map association.
Purpose
Enters configuration mode.
Creates a named object that represents a set of policies that are to be applied
to a set of traffic classes. Policy-map names can contain alphabetic, hyphen,
or underscore characters, are case sensitive, and can be up to 40 characters.
Associates a class map with the policy map, and enters configuration mode
for the specified system class.
The associated class map must be the same type as the policy map
Note
type.
Configures one or more qos-group values to match on for classification of
traffic into this class map. The list below identifies the ranges of the
qos-group-value . There is no default value.
For the Cisco Nexus 5020 switch and the Cisco Nexus 5010 switch, the range
is from 2-5.
For the Cisco Nexus 5548 switch, the range is from 1 to 5.
Configuring QoS
OL-20921-01