Configuring Wred By Dscp Values - Cisco Nexus 7000 Series Configuration Manual

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

Advertisement

Configuring WRED by DSCP Values

Step 5
Step 6
Step 7
Step 8
Configuring WRED by DSCP Values
Before configuring WRED, ensure that the DSCP values are present (see the "Modifying Queuing Class Maps
for DSCP" section).
You can configure WRED on ingress queues to set minimum and maximum packet drop thresholds. The
frequency of dropped packets increases as the queue size exceeds the minimum threshold. When the maximum
threshold is exceeded, all packets for the DSCP value are dropped.
You cannot configure WRED on ingress 10-Gigabit Ethernet ports except for the 8-port 10-Gigabit Ethernet
I/O module.
You can configure WRED thresholds by the DSCP value, and configure a single WRED threshold to use on
all DSCP values that you do not specifically configure.
Cisco Nexus 7000 Series NX-OS Quality of Service Configuration Guide
102
Command or Action
(Optional) switch(config-pmap-c-que)#
random-detect {cos cos-list
[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}}
switch(config-pmap-c-que)# exit
(Optional) switch(config)# show policy-map
type queuing [policy-map-name |
que-dynamic]
(Optional) switch(config)# copy
running-config startup-config
Configuring Queuing and Scheduling on M-Series I/O Modules
Purpose
1 to 83886080. 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 CoS 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 be of
the same type. The default threshold is in
packets. Thresholds are from 1 to 83886080.
The percentage range is from 1 to 100.
Optional: repeat Step 5 to configure WRED for
other CoS values.
Optional: repeat Steps 3 through 6 to configure
WRED for other queuing classes.
Exits policy-map queue mode, and enters global
configuration mode.
Displays information about all configured
policy maps or a selected policy map of type
queuing.
Saves the running configuration to the startup
configuration.

Advertisement

Table of Contents
loading

Table of Contents