R3303-HP HSR6800 Routers ACL and QoS Configuration Guide

87
# Enter system view.
<Sysname> system-view
# Configure a queue-based WRED table.
[Sysname] qos wred queue table queue-table1
[Sysname-wred-table-queue-table1] quit
# Enter interface view.
[Sysname] interface gigabitethernet 1/0/1
# Apply the queue-based WRED table to GigabitEthernet 1/0/1.
[Sysname-GigabitEthernet1/0/1] qos wred apply queue-table1
Displaying and maintaining WRED
Task Command
Remarks
Display the WRED configuration
on an interface/PVC or all
interfaces/PVCs.
display qos wred interface [ interface-type
interface-number ] [ | { begin | exclude |
include } regular-expression ]
Available in any view.
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.
WRED configuration example
Network requirements
As shown in Figure 30, Server sends critical data traffic, Telephone sends voice traffic, and Host A and
Host B send non-critical data traffic. On Router, because the rate of incoming interface GigabitEthernet
1/0/1 is higher than that of outgoing interface Serial 2/1/1, congestion might occur on Serial 2/1/1.
Perform configurations to meet the following requirements:
1. Critical traffic from Server and Telephone is transmitted preferentially when congestion occurs in
the network.
2. Certain bandwidth is guaranteed for traffic from Host A and Host B to reduce traffic delay.
3. When congestion deteriorates, packets are dropped based on precedence.
Use WFQ in conjunction with WRED for queue scheduling and packet dropping.