Configuration example, Network requirements, Configuration procedure – H3C Technologies H3C S7500E Series Switches User Manual

Page 73: Displaying and maintaining wred

Advertising
background image

7-3

To do…

Use the command…

Remarks

Enter system view

system-view

Create a WRED table

qos wred queue table table-name

Configure the drop

parameters for each

queue in the WRED table

queue queue-id [ drop-level drop-level ]

low-limit low-limit [ discard-probability

discard-prob ]

Optional

By default, the low-limit argument

is 100 and the discard-prob

argument is 10.

Enter

interface

view

interface interface-type interface-number

Enter

interface

view or port

group view

Enter port

group view

port-group manual port-group-name

Use either command

Settings in interface view take

effect on the current interface;

settings in port group view take

effect on all ports in the port group.

Apply the WRED table

qos wred apply table-name

Required

Configuration Example

Network requirements

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

Configuration procedure

# 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 2/0/1

# Apply the queue-based WRED table to GigabitEthernet 2/0/1.

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

Displaying and Maintaining WRED

To do…

Use the command…

Remarks

Display WRED configuration

information on the interface or all

interfaces

display qos wred interface

[ interface-type interface-number ]

Available in any view

Display configuration information

about a WRED table or all WRED

tables

display qos wred table

[ table-name ]

Available in any view

Advertising