3Com Router Command Reference Guide Addendum for V1.2

1.33 wred ip-precedence

Syntax

wred ip-precedence value low-limit low-limithigh-limit high-limit[ discard-probability discard-prob]

undo wred ip-precedence value

View

Policy-class view

Parameter

value: Precedence of IP packets in the range of 0 to 7.

low-limit: Lower threshold value in the range of 1 to 1024. It is 10 by default.

high-limit: Upper threshold value in the range of 1 to 1024. It is 30 by default.

discard-prob: Denominator of drop proportion in the range of 1 to 255. It is 10 by default.

Description

Using wred ip-precedencecommand, you can set precedence lower-limit, upper-limit and drop proportion denominator of WRED. Using undo wred ip-precedencecommand, you can remove the configuration.

This command can be used only after the wred command has been used to enable WRED drop mode based on DSCP. The configuration of wred will be deleted if the configuration of qos wred is deleted.

The configuration of drop parameters will be deleted if af is deleted.

For the related command, see qos policy, qos-class.

Example

Set lower-limit to 20, upper-limit to 40 and discard probability to 15 for the packet with the precedence 3.

[3Com] qos policy 3Com

[3Com-qospolicy-3Com] qos-class database

[3Com-qospolicy-c-3Com database] wred

[3Com-qospolicy-c-3Com database] wred ip-precedence 3 low-limit 20 high-limit

40 discard-probability 15

33

Page 33
Image 33
3Com 10014302 manual Syntax, View, Parameter, Description, Example, undo wred ip-precedence value