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-lengthcommand 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-limitlow-limit high-limithigh-limit [ discard-probabilitydiscard-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-limitlow-limit: Specifies the lower threshold, in the range 1 to 1024 (in terms of the number of packets). The system default is 10.

high-limithigh-limit: Specifies the upper threshold, in the range 1 to 1024 (in terms of the number of packets). The system default is 30.

discard-probabilitydiscard-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.

Page 1830
Image 1830
3Com MSR 30, MSR 50 manual Wred dscp, Undo wred dscp dscp-value