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

104
If the maximum available bandwidth is not configured, the base QoS bandwidth used for CBQ
calculation is as follows:
Actual baudrate or rate of a physical interface.
1000000 kbps for VLAN interfaces.
Total bandwidth of a logical serial interface formed by binding, such as T1/E1 interfaces, MFR
interfaces, and MP interfaces.
1000000 kbps for template interfaces such as VT, dialer, BRI, and PRI interfaces.
384 kbps for cellular interfaces.
0 kbps for the other virtual interfaces such as tunnel interfaces and HDLC link bundle interfaces.
On a primary channel interface (such as VT, dialer, BRI, or PRI) configured with the qos max-bandwidth
command, AF and EF perform queue bandwidth check and calculation based on the bandwidth
specified with the qos max-bandwidth command. The same is true of AF and EF synchronized to the
sub-channel interfaces (such as VA interfaces or B channels). In this case, the sub-channel interface
bandwidth is ignored. Because the QoS configurations of the primary channel interface and the
sub-channel interfaces are the same in this case, prompts are output only for the primary channel
interface. If the qos max-bandwidth command is not configured, AF and EF on the primary channel
interface calculate queue bandwidth based on 1 Gbps of bandwidth, and AF and EF synchronized to the
sub-channel interfaces calculate queue bandwidth based on actual sub-channel interface bandwidth. In
this case, if queuing on a sub-channel interface fails due to bandwidth change, the prompt will be output
for the sub-channel interface.
On an MP-group interface or MFR interface configured with the qos max-bandwidth command, AF and
EF perform queue bandwidth check and calculation based on the bandwidth specified with the qos
max-bandwidth command. On an MP-group interface or MFR interface without the qos max-bandwidth
command configured, if the sum of sub-channel bandwidth equals to or exceeds the sum of AF
bandwidth and EF bandwidth, AF and EF calculate bandwidth based on the actual interface bandwidth.
Otherwise, AF and EF calculate bandwidth based on 1 Gbps of bandwidth, and the message indicating
insufficient bandwidth is displayed. In the latter case, the queuing function might fail to take effect. You
can use the qos reserved-bandwidth command to set the maximum percentage of the reserved
bandwidth to the available bandwidth.
On tunnel interfaces, subinterfaces, HDLC link bundle interfaces, or VT/dialer interfaces configured with
PPPoE, PPPoA, PPPoEoA, PPPoFR, or MPoFR (frame relay traffic shaping is not enabled on the frame relay
interface), you must configure the qos max-bandwidth command to provide the base bandwidth for
CBQ calculation.
Examples
# Set the maximum available bandwidth of Ethernet 1/1 to 16 kbps.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] qos max-bandwidth 16
qos reserved-bandwidth
Use qos reserved-bandwidth to set the maximum reserved bandwidth as a percentage of available
bandwidth of the interface.
Use undo qos reserved-bandwidth to restore the default.
Syntax
qos reserved-bandwidth pct percent