Cisco Nexus 7000 Series Configuration Manual page 119

Nx-os quality of service configuration guide
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring Queuing and Scheduling on M-Series I/O Modules
Note
WRED and tail drop cannot be configured in the same class.
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Command or Action
switch# configure terminal
switch(config)# policy-map type queuing
[match-first] {policy-map-name |
que-dynamic}
switch(config)# class type queuing
class-queuing-name
switch(config-pmap-c-que)# random-detect
dscp-based [aggregate [minimum-threshold]
{min-threshold [packets | bytes | kbytes |
mbytes | ms | us] | percent
min-percent-of-qsize} [maximum-threshold]
{max-threshold [packets | bytes | kbytes |
mbytes | ms | us] | percent
min-percent-of-qsize}]
(Optional) switch(config-pmap-c-que)#
random-detect {dscp dscp-value
[minimum-threshold] {min-threshold [packets
| bytes | kbytes | mbytes | ms | us] | percent
min-percent-of-qsize} [maximum-threshold]
{max-threshold [packets | bytes | kbytes |
mbytes | ms | us] | percent
min-percent-of-qsize}}
Cisco Nexus 7000 Series NX-OS Quality of Service Configuration Guide
Configuring WRED by DSCP Values
Purpose
Enters global configuration mode.
Configures the policy map of type queuing, and
then enters policy-map mode for the policy-map
name that you specify. Policy-map names can
contain alphabetic, hyphen, or underscore
characters, are case sensitive, and can be up to
40 characters.
Configures the class map of type queuing, and
then enters policy-map class queuing mode.
Configures WRED for all DSCP values not
configured by a DSCP-specific random-detect
command. You can specify minimum and
maximum thresholds used to drop packets from
the queue. You can configure thresholds by the
number of packets, number of bytes, the
duration of time at the underlying interface
minimum guaranteed link rate, or as the
percentage of queue size. The minimum and
maximum thresholds must be of the same type.
If no aggregate arguments are supplied, no
aggregate WRED is configured. The default
threshold is in packets. The thresholds are from
1 to 52428800. The percentage range is from 1
to 100.
Note
You must enter this command, even
if you enter the command with no
values.
You can specify only one
Note
random-detect cos-based command
in a class.
Configures WRED for specific DSCP values.
You can specify minimum and maximum
thresholds used to drop packets from the queue.
You can configure thresholds by the number of
packets, number of bytes, the duration of time
at the underlying interface minimum guaranteed
link rate, or as the percentage of the queue size.
The minimum and maximum thresholds must
103

Advertisement

Table of Contents
loading

Table of Contents