xStack DES-3800 Series Layer 3 Stackable Fast Ethernet Managed Switch CLI Manual
350
disable wred
Purpose
Used to disable WRED on the Switch.
Syntax disable
wred
Description
This command, along with the
enable wred
command will enable and
disable the Weighted Random Early Discard (WRED) mechanism on the
Switch.
Parameters
None.
Restrictions
Only Administrator or Operator-level users can issue this command.
Example usage:
To enable WRED switch wide.
DES-3800:admin#disable wred
Command: disable wred
Success.
DES-3800:admin#
config wred ports
Purpose
Used to configure the WRED settings on the Switch.
Syntax
config wred ports [<portlist> | all] [class_id <class_id 0-7>
{drop_start <int 0-100> | drop_slope <int 0-90>} | {drop_start <int 0-
100> | drop_slope <int 0-90> | average_time <int 1-32768>}]
Description
This command is used to configure the Weighted Random Early Discard
(WRED) parameters on the Switch, on a port by port basis, including the
drop start point, drop slope and the average time checking interval.
Parameters
<portlist>
- Specify a port or group of ports for which to configure WRED
settings. A list of ports are configured by entering the first and last port of
the list, separated by a dash. Multiple separate ports may be entered by
separating them with a comma.
class_id <class_id 0-7>
- Specifies the hardware priority queues to be
configured for WRED. If no class ID is chosen, all class IDs will be
configured for WRED.
drop start <int 0-100>
- Select a percentage between 0 and 100 to
initialize the discarding of random packets. This percentage is based on
the fill percentage of the QoS queue stated in the Class ID field. (Once the
specified queue reaches the target percentage specified here, the Switch
will begin randomly discarding packets). Entering a 0 percentage will drop
all incoming packets.
drop_slope <int 0-90>
- Specifies the angle of the drop slope for drop
probability of incoming packets. The angle 0 would disable the WRED
drop probability for the specified hardware queue.
average_time <int 1-32768>] -
Enter a time, in microseconds, that the
Switch will check the CoS queues to determine abnormalities in the
settings and boundaries which will trigger the WRED function to initialize.
This parameter can only be specified and implemented for ports in the
portlist and NOT by individual class.
Restrictions
Only Administrator or Operator-level users can issue this command.