3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
1832 CHAPTER 115: CBQ CONFIGURATION COMMANDS
The configuration of drop parameters gets invalid if the configuration of the
queue af command or the queue wfq command is cancelled.
Related commands: qos policy, traffic behavior, classifier behavior.
Examples # Set lower-limit to 20, upper-limit to 40 and discard probability to 15 for the
packet with the precedence 3.
<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] queue wfq
[Sysname-behavior-database] wred ip-precedence
[Sysname-behavior-database] wred ip-precedence 3 low-limit 20 high-l
imit 40 discard-probability 15
wred weighting-constant
Syntax wred weighting-constant exponent
undo wred weighting-constant
View Traffic behavior view
Parameters exponent: Exponential, in the range 1 to 16. It is 9 by default.
Description Use the
wred weighting-constant command to set exponential for the
calculation of average queue length by WRED.
Use the
undo wred weighting-constant command to delete the
configuration.
This command can be used only after the queue af command or the queue wfq
command has been configured and the wred command has been used to enable
WRED drop mode.
The configuration of wred weighting-constant will be deleted if wred is
deleted.
Related commands: qos policy, traffic behavior, classifier behavior.
Examples # Configure exponential for calculating average queue length to 6.
<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] queue af bandwidth 200
[Sysname-behavior-database] wred ip-precedence
[Sysname-behavior-database] wred weighting-constant 6