3com 5500-ei pwr Installation Instruction
1-26
Configuration example
z
Adopts WRR for queue scheduling, setting the weights of the output queues to 2, 2, 3,
3, 4, 4, 5, and 5 (in the order queue 0 through queue 7).
z
Verify the configuration.
Configuration procedure:
<Sysname> system-view
[Sysname] queue-scheduler wrr 2 2 3 3 4 4 5 5
[Sysname] display queue-scheduler
Queue scheduling mode: weighted round robin
weight of queue 0: 2
weight of queue 1: 2
weight of queue 2: 3
weight of queue 3: 3
weight of queue 4: 4
weight of queue 5: 4
weight of queue 6: 5
weight of queue 7: 5
Configuring WRED
Refer to section
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
interface-number
—
Configure WRED
wred queue-index qstart
probability
probability
Required
By default, WRED is not
configured.
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%.