Wred configuration example, Network requirements, Configuration procedure – H3C Technologies H3C SR8800 User Manual

Page 67

Advertising
background image

58

WRED configuration example

Network requirements

Apply a queue-based WRED table to interface GigabitEthernet 2/1/1.

Configuration procedure

# Enter system view

<Sysname> system-view

# Create a queue-based WRED table named queue-table1, and modify the lower and upper thresholds
and drop probability for each queue.

NOTE:

Configure the lower and upper thresholds for each queue in the WRED table depending on the interface
buffer size, which varies by interface type.

[sysname] qos wred queue table queue-table1

[Sysname-wred-table-queue-table1]queue 0 low-limit 128 high-limit 4096

discard-probability 100

[Sysname-wred-table-queue-table1]queue 1 low-limit 128 high-limit 2048

discard-probability 100

[Sysname-wred-table-queue-table1]queue 2 low-limit 128 high-limit 2048

discard-probability 100

[Sysname-wred-table-queue-table1]queue 3 low-limit 128 high-limit 2048

discard-probability 100

[Sysname-wred-table-queue-table1]queue 4 low-limit 128 high-limit 2048

discard-probability 100

[Sysname-wred-table-queue-table1]queue 5 low-limit 128 high-limit 512

discard-probability 100

[Sysname-wred-table-queue-table1]queue 6 low-limit 128 high-limit 512

discard-probability 100

[Sysname-wred-table-queue-table1]queue 7 low-limit 128 high-limit 8192

discard-probability 100

[Sysname-wred-table-queue-table1] quit

# Enter interface view.

[Sysname] interface GigabitEthernet 2/1/1

# Apply the WRED table to interface GigabitEthernet 2/1/1.

[Sysname-GigabitEthernet2/1/1] qos wred apply queue-table1

Advertising
This manual is related to the following products: