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
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
network-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-nq)#
class
type network-qos class-name
Step 3
The associated class map must be the same type as
the policy map type.
Note
Specifies the MTU value in bytes.
switch(config-pmap-c-nq)#
mtu
mtu-value
Step 4
The
mtu-value
that you configure must be less than
the value set by the
system jumbomtu
command.
Note
(Optional)
Resets the MTU value in this class.
switch(config-pmap-c-nq)#
no
mtu
Step 5
Configures a no-drop class.
switch(config-pmap-c-nq)#
pause
no-drop
Step 6
Enables multicast optimization. Multicast traffic in this class
will be served by all available multicast queues.
switch(config-pmap-c-nq)#
multicast-optimize
Step 7
Only one class in a policy map can be configured for
multicast optimization.
Note
For the Cisco Nexus device, multicast optimization
is enabled by default on class-default. You must
remove it from class-default before enabling it on a
user-defined class.
Note
(Optional)
Disables multicast optimization.
switch(config-pmap-c-nq)#
no
multicast-optimize
Step 8
Configures a no-drop class. If you do not specify this
command, the default policy is drop.
switch(config-pmap-c)#
pause
no-drop
[
pfc-cos pfc-cos-value
]
Step 9
The operation for the drop policy is a simple tail drop,
where arriving packets will be dropped if the queue
increases to its allocated size.
Note
The
pfc-cos-value
range is from 0 to 7. This option is supported
only for for a ACL-based system class (which filters traffic
using criteria other than cos-based matches).
Cisco Nexus 5000 NX-OS Quality of Service Configuration Guide, Release 5.1(3)N2(1)
22
OL-26657-01
Configuring Policy Maps
Configuring Type Network QoS Policies