3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
1849
By default, the dropping method of a queue is tail drop.
Related commands: qos wfq, display qos wred interface.
Examples # Enable WRED on Ethernet 1/0, using IP precedence for calculating the drop
probability.
<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
qos wred dscp
Syntax qos wred dscp dscp-value low-limit low-limit high-limit high-limit
discard-probability discard-prob
undo qos wred dscp dscp-value
View Interface view
Parameters dscp-value: DSCP value, in the range of 0 to 63. This argument can also be a
keyword 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
qos wred dscp command to set the lower threshold, the higher
threshold, and drop probability denominator for a specific DSCP value.
Use the
undo qos wred dscp command to restore the default.
Before performing this configuration, make sure that the qos wred dscp enable
command is used to apply DSCP-based WRED to the interface. The thresholds limit
the average queue length.
Related commands: qos wred enable, display qos wred interface.
Examples # Configure the following parameters for packets with the DSCP value 63: lower
threshold 20, higher threshold 40, and drop probability denominator 15.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] qos wfq queue-length 100 queue-number 512
[Sysname-Ethernet1/0] qos wred dscp enable