R2511-HP MSR Router Series ACL and QoS Command Reference(V5)

146
Examples
# Set CIR ALLOW to 64000 bps for the FR class test1.
<Sysname> system-view
[Sysname] fr class test1
[Sysname-fr-class-test1] cir allow 64000
Related commands
cbs
ebs
cir
congestion-threshold
Use congestion-threshold to enable congestion management for FR PVCs.
Use undo congestion-threshold to disable the congestion management function.
Syntax
congestion-threshold { de | ecn } queue-percentage
undo congestion-threshold { de | ecn }
Default
The congestion management function is disabled for FR PVCs.
Views
FR class view
Default command level
2: System level
Parameters
de: Drops FR packets with the DE flag bit 1 when congestion occurs.
ecn: Sets the BECN flag bits and FECN flag bits of FR packets to 1 when congestion occurs.
queue-percentage: Threshold for network congestion, expressed in the usage percentage of PVC queues
(the percentage of the current PVC queue length to the total queue length). The value range for this
argument is 1 to 100, and the default is 7.
Usage guidelines
When the percentage of the current PVC queue length to the total PVC queue length exceeds the set
threshold for congestion, congestion occurs to the PVCs. The congestion management function is
performed for packets of PVCs as follows: dropping the FR packets with the DE flag bit 1, and setting the
BECN flag bits and FECN flag bits of FR packets to 1.
Examples
# Create an FR class test1 and configure the FR network to drop FR packets with the DE flag bit 1 when
the current PVC queue length uses more than 80% of the total PVC queue length.
<Sysname> system-view
[Sysname] fr class test1
[Sysname-fr-class-test1] congestion-threshold de 80