Using the mpls te bypass-tunnel bandwidth command, you can configure the bypass LSP bandwidth.
By default, no bypass LSP bandwidth is configured.
Parameter | Description | Value |
---|---|---|
bandwidth | Specifies the bandwidth that the bypass tunnel can protect. | The value is an integer that ranges from 1 to 32000000, in kbit/s. |
bc0 | Indicates the BC0 bandwidth (global bandwidth) that the bypass tunnel can protect. | - |
bc1 | Indicates the BC1 bandwidth (subaddress pool bandwidth) that the bypass tunnel can protect. | - |
un-limited | Indicates that there is no limit on the total bandwidth that can be protected. | - |
The total bandwidth of LSPs protected by the bypass tunnel is not more than the bandwidth of the primary tunnel. When multiple bypass tunnels exist, the system selects a single bypass tunnel through the best-fit algorithm.
The total bandwidth of all the LSPs protected by the bypass tunnel is not greater than the bandwidth of the primary tunnel. When multiple bypass tunnels exist, the system determines the bypass tunnel through the best-fit algorithm.
# Configure Tunnel1 to protect the LSPs that use the BC0 bandwidth and set no limit on the bandwidth to be protected.
<HUAWEI> system-view
[HUAWEI] interface tunnel 1
[HUAWEI-Tunnel1] tunnel-protocol mpls te
[HUAWEI-Tunnel1] destination 2.2.2.2
[HUAWEI-Tunnel1] mpls te tunnel-id 100
[HUAWEI-Tunnel1] mpls te bypass-tunnel bandwidth bc0 un-limited
[HUAWEI-Tunnel1] mpls te commit