beautypg.com

Configuring wred, Configuration prerequisites, Configuration procedure – H3C Technologies H3C S3600 Series Switches User Manual

Page 753: Configuration example, Configuring traffic accounting

background image

1-23

weight of queue 7: 5

Configuring WRED

Refer to section

Congestion Avoidance

for information about WRED.

Configuration prerequisites

z

The indexes of queues to be dropped at random, the queue length that starts the drop action, and

the drop probability have been determined.

z

The ports that need this configuration have been determined.

Configuration procedure

Follow these steps to configure WRED:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter Ethernet port view

interface interface-type
interface-number

Configure WRED

wred queue-index qstart
probability

Required

By default, WRED is not
configured.

Configuration example

Configure WRED for queue 2 of Ethernet 1/0/1 to drop the packets in queue 2 randomly when the

number of packets in queue 2 exceeds 64, setting the dropping probability being 20%.

Configuration procedure:

system-view

[Sysname] interface Ethernet1/0/1

[Sysname-Ethernet1/0/1] wred 2 64 20

Configuring Traffic Accounting

Refer to section

Flow-based Traffic Accounting

for information about traffic accounting.

Configuration prerequisites

z

The ACL rules for traffic classification have been defined. Refer to the ACL module of this manual

for information about defining ACL rules.

z

The port that needs this configuration has been determined.

Configuration procedure

Follow these steps to configure traffic accounting:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter Ethernet port view

interface interface-type
interface-number

This manual is related to the following products: