R2511-HP MSR Router Series ACL and QoS Command Reference(V5)

119
Examples
# Enable WRED on Ethernet 1/1, and use the IP precedence for drop probability calculation.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] qos wfq queue-length 100 queue-number 512
[Sysname-Ethernet1/1] qos wred ip-precedence enable
Related commands
qos wfq
display qos wred interface
qos wred dscp
Use qos wred dscp to configure the lower limit, upper limit, and drop probability for a DSCP value.
Use undo qos wred dscp to restore the default.
Syntax
qos wred dscp dscp-value low-limit low-limit high-limit high-limit discard-probability discard-prob
undo qos wred dscp dscp-value
Views
Interface view, PVC view
Default command level
2: System level
Parameters
dscp-value: DSCP value in the range of 0 to 63. This argument can also be represented using one of the
keywords listed in Table 19:
lo
w limit low-limit: Specifies the lower WRED limit value in the range of 1 to 1024.
high-limit high-limit: Specifies the upper WRED limit value in the range of 1 to 1024.
discard-probability discard-prob: Specifies the drop probability denominator in the range of 1 to 255.
Usage guidelines
Before this configuration, enable DSCP-based WRED on the interface/PVC with the qos wred dscp
enable command first. The upper and lower limits restrict the average queue length.
Examples
# Configure the following parameters for packets with DSCP value 63 on Ethernet 1/1: lower limit 20,
upper limit 40, and drop probability 15.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] qos wfq queue-length 100 queue-number 512
[Sysname-Ethernet1/1] qos wred dscp enable
[Sysname-Ethernet1/1] qos wred dscp 63 low-limit 20 high-limit 40 discard-probability 15
Related commands
qos wred enable
display qos wred interface