R2511-HP MSR Router Series ACL and QoS Configuration Guide(V5)

73
# Set the following parameters for packets with IP precedence 3: lower threshold 20, upper threshold 40,
and drop probability denominator 15.
[Sysname-Ethernet1/1] qos wred ip-precedence 3 low-limit 20 high-limit 40
discard-probability 15
# Set the exponential factor for the average queue size calculation to 6.
[Sysname-Ethernet1/1] qos wred weighting-constant 6
Applying a queue-based WRED table on an
interface
The following matrix shows the feature and router compatibility:
Feature
MSR9
00
MSR93
X
MSR20-
1
X
MSR20 MSR30 MSR50 MSR1000
Applying a
WRED table
on an
interface
No No No No
Yes with only
MIM-16FSW
and
DMIM-24FS
W Layer 2
Ethernet
switching
modules
Yes with only
FIC-16FSW
and
DFIC-24FSW
Layer 2
Ethernet
switching
modules
No
A WRED table contains global WRED parameters. The router supports only queue-based tables for
WRED tables. Packets are dropped based on the queue when congestion occurs. A queue-based WRED
table can only be applied to Layer 2 ports, and only queue-based WRED tables can be applied to Layer
2 ports.
A WRED table can be applied to multiple interfaces. For a WRED table already applied to an interface,
you can modify the values of the WRED table, but you cannot remove the WRED table.
Configuration procedure
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a WRED table
and enter its view.
qos wred queue table
table-name
N/A
3. Configure the other
WRED parameters.
queue queue-value
low-limit low-limit
[ discard-probability
discard-prob ]
Optional.
4. Enter interface view or
port group view.
Enter interface view:
interface interface-type
interface-number
Enter port group view:
port-group manual
port-group-name
Settings in interface view take effect on the
current interface. Settings in port group view
take effect on all ports in the port group.