3Com 10014303 Network Router User Manual


 
3) Configure the maximum queue length of the class
Configure maximum queue length of the class and configure the drop type as tail
drop.
Perform the following configurations in the policy-class view.
Table 1-16 Configure the maximum queue length of the class
Operation Command
Configure the maximum queue length of the
class
queue-length queue-length
Delete the configuration of maximum queue
length
undo queue-length
This command can be used only after the af command has been configured. Execute
the undo af command then queue-length will be deleted as well.
For the default-class, this command can be used only after the af has been
configured.
4) Configure the discarding mode of the class as random.
Perform the following configurations in the policy-class view.
Table 1-17 Configure the discarding mode of the class as random
Operation Command
Configure the discarding mode of the class
as random
wred [ ip-dscp value | ip-precedence value ]
Restore the default setting
undo wred [ ip-dscp value | ip-precedence value ]
ip-dscp indicates that the DSCP value is used to calculate the drop probability of a
packet.
Ip-precedence: Indicate that the IP precedence value is used to calculate drop
probability of a packet, which is the default setting.
This command cannot be used until the af command has been configured. In the
case of the default class, this command be used only after the af command has been
configured. The wred and queue-length commands are mutually
exclusive. Other
configurations under the random drop will be deleted simultaneously when this
command is deleted. When a QoS policy including WRED is applied on an interface,
the original WRED configuration on the interface will be invalid.
The default-class can only be configured with the random discard mode based on IP
precedence.
5) Configure exponential of average queue length calculated by WRED
Perform the following configurations in the policy-class view.
3Com Router Configuration Guide Addendum for V1.20
10