Configuring Wred By Cos 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 Queuing and Scheduling on M-Series I/O Modules

Configuring WRED by COS Values

Before configuring WRED, ensure that the CoS values are there (see the "Modifying Queuing Class Maps
for COS" section.
You can configure WRED on both ingress and egress 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 CoS value are dropped.
Note
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 CoS value, and configure a single WRED threshold to use on
all CoS values that you do not specifically configure.
Note
WRED and tail drop cannot be configured in the same class.
You use the system-defined queue classes for the type of module to which you want to apply the policy map.
Procedure
Step 1
Step 2
Step 3
Step 4
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
cos-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}]
Cisco Nexus 7000 Series NX-OS Quality of Service Configuration Guide
Configuring WRED by COS 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 CoS values not
configured by a CoS-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
101

Advertisement

Table of Contents
loading

Table of Contents