Cisco Nexus 9000 Series Configuration Manual page 120

Nexus 9000 series data center switches
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring Congestion Avoidance
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
policy-map type queuing {[match-first]
policy-map-name}
Example:
switch(config)# policy-map type queuing
p1
switch(config-pmap-que)#
Step 3
class type queuing class-name
Example:
switch(config-pmap-que)# class type
queuing c-out-q1
switch(config-pmap-c-que)#
Step 4
random-detect [minimum-threshold
min-threshold {packets | bytes | kbytes | mbytes}
maximum-threshold max-threshold {packets |
bytes | kbytes | mbytes} drop-probability value
weight value] [threshold {burst-optimized |
mesh-optimized}] [ecn|non-ecn]
Example:
switch(config-pmap-c-que)# random-detect
minimum-threshold 10 mbytes
maximum-threshold 20 mbytes
Step 5
Repeat Steps 3 and 4 to configure WRED for other
queuing classes.
Step 6
congestion-control random-detect
forward-nonecn
Example:
switch(config-pmap-c-que)#
congestion-control random-detect
forward-nonecn
Cisco Nexus 9000 Series NX-OS Quality of Service Configuration Guide, Release 7.x
106
Purpose
Enters global configuration mode.
Configures the policy map of type queuing and then enters policy-map
mode for the policy-map name 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. Class queuing names are listed in the previous
System-Defined Type queuing Class Maps table.
Configures WRED on the specified queuing class. You can specify
minimum and maximum thresholds used to drop packets from the queue.
You can configure these thresholds by the number of packets, bytes,
kilobytes, or megabytes. The minimum and maximum thresholds must
be of the same type. The thresholds are from 1 to 52428800.
The minimum-threshold and maximum-threshold parameters
Note
are not supported on the Cisco Nexus 9300 and N9K-X9564TX
and N9K-X9564PX line cards.
(Optional)
(Optional)
This is a global CLI command. Allows non-ECN-capable traffic to
bypass WRED thresholds and grow until the egress queue-limit and
tail drops. This command is intended to be used with a WRED+ECN
configuration and when the intention is to avoid WRED drops of
non-ECN-capable traffic. This option is available beginning with Cisco
NX-OS Release 7.0(3)I4(2) and supported only for Cisco Nexus 9200
Series switches, Cisco Nexus 93108TC-EX and 93180YC-EX switches,
and Cisco Nexus 9508 switches with the X9732C-EX line card.
Beginning with Cisco NX-OS Release 7.0(3)I4(5), this feature is
supported on Cisco Nexus 9508 switches with the Cisco N9K-X9636PQ
line cards and Cisco Nexus 3164Q switches.
Configuring Queuing and Scheduling

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents