Purpose
Command or Action
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 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.
You can set a maximum of five QoS groups for ingress traffic.
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 names
switch(config)#
policy-map type
qos policy-name
Step 2
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.
switch(config-pmap-qos)# [
class
|
class-default
]
type qos class-name
Step 3
The associated class map must be the same type as
the policy map type.
Note
Configures one or more
qos-group
values to match on for
classification of traffic into this class map. The list below
switch(config-pmap-c-qos)#
set
qos-group qos-group-value
Step 4
identifies the ranges of the
qos-group-value
. There is no
default value.
This example shows how to define a type qos policy map:
switch#
configure terminal
switch(config)#
policy-map type qos policy-s1
switch(config-pmap-qos)#
class type qos class-s1
switch(config-pmap-c-qos)#
set qos-group 2
Cisco Nexus 5000 NX-OS Quality of Service Configuration Guide, Release 5.1(3)N2(1)
OL-26657-01
21
Configuring Policy Maps
Configuring Type QoS Policies