The mpls te bandwidth command sets the BC bandwidth for a link.
The undo mpls te bandwidth command restores the default setting.
By default, no BC bandwidth is configured for a link.
Parameter | Description | Value |
---|---|---|
bc0 bc0-bw-value | Specifies the bandwidth of BC0. | The value is an integer that ranges from 1 to 4000000000, in kbit/s. The default value is 1. |
bc1 bc1-bw-value | Specifies the bandwidth of BC1. | The value is an integer that ranges from 1 to 4000000000, in kbit/s. The default value is 1. |
VLANIF interface view, GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-trunk interface view
Usage Scenario
In real-world situations, the bandwidth value is set on outbound interfaces along links of a TE tunnel that requires sufficient bandwidth.
The configured bandwidth takes effect only during tunnel establishment and protocol negotiation, and does not limit the bandwidth for traffic forwarding. (S5720-HI does not have this restriction.)
Precautions
To change bandwidth BC values, reconfigure the mpls te bandwidth command. The last configured BC bandwidth value overrides the previous one.
One or more BC bandwidth values can be set in a single command in a random order.
A BC bandwidth value can be changed only to a value greater than or equal to the set one. For example, the BC0 bandwidth of 10 Mbit/s can be changed to 10 or a larger value.
# Set the maximum reservable bandwidth to 10000 kbit/s, the bandwidth of BC0 to 1000 kbit/s on interface VLANIF100.
<HUAWEI> system-view [HUAWEI] interface vlanif 100 [HUAWEI-Vlanif100] mpls [HUAWEI-Vlanif100] mpls te [HUAWEI-Vlanif100] mpls te bandwidth max-reservable-bandwidth 10000 [HUAWEI-Vlanif100] mpls te bandwidth bc0 1000
<HUAWEI> system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo portswitch [HUAWEI-GigabitEthernet0/0/1] mpls [HUAWEI-GigabitEthernet0/0/1] mpls te [HUAWEI-GigabitEthernet0/0/1] mpls te bandwidth max-reservable-bandwidth 10000 [HUAWEI-GigabitEthernet0/0/1] mpls te bandwidth bc0 1000