Problem Description
On an NE5000E, when the cir-percentage value (percentage of the committed access rate of a queue accounting for the interface bandwidth, an integer ranging from 0 to 100) configured for the EF queue exceeds 31 and the cir-percentage values of other queues remain at their default setting, the system informs that the outbound queues' CIRs exceed the upper limit.
When the cir-percentage value of the EF queue is configured as 31, the system informs that the outbound queues' CIRs exceed the upper limit.
[HUAWEI-GigabitEthernet3/0/0]qos queue ef priority 1 cir cir-percentage 31 outbound
Error: The summation of outbound queues' CIR exceed the bandwidth of interface
When the cir-percentage value of the EF queue is configured as 30 or a smaller value, the configuration succeeds.
[HUAWEI-GigabitEthernet3/0/0]display this
#
interface GigabitEthernet3/0/0
undo shutdown
ip address x.x.x.x 255.255.255.252
qos queue ef priority 1 cir cir-percentage 30 outbound
Problem Analysis
Check the configurations and specifications of the device and finds no exceptions.
By default, the respective cir-percentage values of BE, AF1, AF2, AF3, AF4, EF, CS6 and CS7 queues are 10, 10, 10, 15, 15, 10, 5 and 5. The remaining 20% bandwidth is reserved by the system. The total of cir-percentage values of all queues must not exceed 100. If the total value exceeds 100, the system informs that the CIRs exceed the upper limit. When the cir-percentage values of other queues remain at their default setting, the maximum bandwidth that can be configured for the EF queue is 30% (20% bandwidth reserved by the system + default 10% bandwidth of EF queues).
Procedure
1. Check the traffic flow conditions on the live network and find that the AF1 traffic volume is small. Run the qos queue af1 priority priority cir cir-percentage cir-percentage outbound command in the interface view to reduce the bandwidth for the AF1 queue to a smaller value. Then the maximum value that can be configured for the EF queue increases.
2. Run the qos queue ef priority priority cir cir-percentage cir-percentage outbound command in the interface view to configure the bandwidth for the EF queue.
Conclusion
To reallocate bandwidths for queues, first reduce the bandwidth of not existent queues to a smaller value or 0. Ensure that the total bandwidth does not exceed 100. If the network does not have a certain type of queue, set the value of cir-percentage for this type of queue to 0 so that the system does not reserve bandwidth for this type of queue.
