3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
1830 CHAPTER 115: CBQ CONFIGURATION COMMANDS
Parameters dscp: Uses DSCP value for calculating drop probability for a packet.
ip-precedence: Uses IP precedence value for calculating drop probability for a
packet.
Description Use the
wred command to configure drop mode as Weighted Random Early
Detection (WRED).
Use the
undo wred command to remove the configuration.
This command can be used only after the queue af or queue wfq command has
been configured. The wred command and queue-length command can not be
used simultaneously. Other configurations under the random drop will be deleted
when this command is deleted. When a policy is applied on an interface, the
previous WRED configuration on interface level will become ineffective.
Related commands: qos policy, traffic behavior, classifier behavior.
Examples # Configure to adopt WRED and count discard rate with IP precedence.
<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] queue wfq
[Sysname-behavior-database] wred
wred dscp
Syntax wred dscp dscp-value low-limit low-limit high-limit high-limit [ discard-probability
discard-prob ]
undo wred dscp dscp-value
View Traffic behavior view
Parameters dscp-value: DSCP value, in the range 0 to 63, which can also be any of the
keywords listed in Table 479.
low-limit low-limit: Specifies the lower threshold, in the range 1 to 1024 (in terms
of the number of packets). The system default is 10.
high-limit high-limit: Specifies the upper threshold, in the range 1 to 1024 (in
terms of the number of packets). The system default is 30.
discard-probability discard-prob: Specifies the denominator for drop probability,
in the range 1 to 255. The system default is 10.
Description Use the
wred dscp command to set DSCP lower-limit, upper-limit and drop
probability denominator of WRED.
Use the
undo wred dscp command to delete the configuration.