3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
1850 CHAPTER 121: WRED CONFIGURATION COMMANDS
[Sysname-Ethernet1/0] qos wred dscp 63 low-limit 20 high-limit 40 di
scard-probability 15
qos wred ip-precedence
Syntax qos wred ip-precedence ip-precedence low-limit low-limit high-limit high-limit
discard-probability discard-prob
undo qos wred ip-precedence ip-precedence
View Interface view
Parameters ip-precedence ip-precedence: Specifies an IP precedence, in the range 0 to 7;
low-limit low-limit: Specifies the lower threshold, in the range 1 to 1024. This
argument is 10 by default.
high-limit high-limit: Specifies the higher threshold, in the range 1 to 1024. This
argument is 30 by default.
discard-probability discard-prob: Specifies the drop probability denominator, in
the range 1 to 255. This argument is 10 by default.
Description Use the
qos wred ip-precedence command to configure the lower threshold,
the higher threshold, and the drop probability denominator for an IP precedence
value.
Use the
undo qos wred ip-precedence command to restore the default.
WRED parameters can be set only after the qos wfq command has been used to
apply WFQ and the qos wred enable command has been used to apply IP
precedence-based WRED to the interface. The thresholds limit the average queue
length.
Related commands: qos wfq, qos wred enable, display qos wred interface.
Examples # Set lower threshold of the packet of precedence 3 at an interface to 20, the
higher threshold to 40, and the discard probability to 15.
<Sysname> system-view
[Sysname] interface ethernet1/0
[Sysname-Ethernet1/0] qos wfq queue-length 100 queue-number 512
[Sysname-Ethernet1/0] qos wred ip-precedence enable
[Sysname-Ethernet1/0] qos wred ip-precedence 3 low-limit 20 high-lim
it 40 discard-probability 15
qos wred weighting-constant
Syntax qos wred weighting-constant exponent
undo qos wred weighting-constant