1850
C
121: WRED C
HAPTER
qos wred ip-precedence
Syntax
View
Parameters
Description
Related commands:
Examples
qos wred weighting-constant
Syntax
C
ONFIGURATION
OMMANDS
[Sysname-Ethernet1/0] qos wred dscp 63 low-limit 20 high-limit 40 di
scard-probability 15
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
Interface view
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.
Use the
qos wred ip-precedence
the higher threshold, and the drop probability denominator for an IP precedence
value.
Use the
undo qos wred ip-precedence
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.
qos wfq, qos wred enable, display qos wred interface.
# 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 exponent
undo qos wred weighting-constant
command to configure the lower threshold,
command to restore the default.