R3303-HP HSR6800 Routers ACL and QoS Configuration Guide

86
[Sysname-GigabitEthernet1/0/1] qos wred ip-precedence enable
# Set the following parameters for packets with IP precedence 3: lower threshold 20, upper threshold 40,
and drop probability denominator 15.
[Sysname-GigabitEthernet1/0/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-GigabitEthernet1/0/1] qos wred weighting-constant 6
Applying a WRED table on an interface
This feature is supported only on SAP modules operating in bridge mode.
A WRED table contains global WRED parameters and supports only the queue-based table. With a
queue-based table, packets are dropped based on the queue when congestion occurs.
A queue-based WRED table can be applied to multiple interfaces. For a queue-based WRED table
already applied to an interface, you can modify the values of the queue-based WRED table, but you
cannot remove the queue-based 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
By default, no WRED table exists.
3. Configure the other
WRED parameters.
queue queue-value
[ drop-level drop-level ]
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.
5. Apply the WRED table
to the interface or port
group.
qos wred apply table-name
A queue-based WRED table is available on only
Layer 2 ports.
6. Display the
configuration of a
WRED table or all
WRED tables.
display qos wred table
[ table-name ] [ | { begin |
exclude | include }
regular-expression ]
Available in any view.
Configuration example
Apply a queue-based WRED table to Layer 2 port GigabitEthernet 1/0/1: