Administrator Guide

Layer 2 Switching Commands 727
0–15
— The weighting constant is used to smooth the calculation of the
queue size using the following formula where the 0-15 value is N.
Default Configuration
The default value is 15. This value corresponds to maximum smoothing of
the average queue size.
Command Mode
Global Configuration mode, Interface Configuration mode (physical and
port-channel), Interface Range mode
User Guidelines
The exponential weighting constant configuration is global and applies to all
WRED colors and all CoS queues. To use the instantaneous queue size in the
calculation of WRED drops, set the weighting constant to 0. Larger values of
N reduce the effect of instantaneous changes. To update the current queue
size to ½ the difference between the previous size and the current
instantaneous queue size, set the weighting constant to 1. To update the
current queue size to 1/4 the difference between the previous size and the
current instantaneous queue size, set the weighting constant to 2, ....
The average queue size is calculated for each physical interface
independently.
redirect
Use the redirect command in Policy-Class-Map Configuration mode to
specify that all incoming packets for the associated traffic stream are
redirected to a specific egress interface (physical port or port-channel).
NOTE: This command is not available on the N1500 Series switches.
Syntax
redirect
interface
interface
— Specifies any valid interface. Interface is Ethernet port or
port-channel (Range: po1-po32 or gi1/0/1-gi1/0/24)
2CSNXXX_SWUM204.book Page 727 Monday, January 25, 2016 1:25 PM