< Home

mpls te bypass-attributes

Function

The mpls te bypass-attributes command configures the bypass tunnel attributes in the MPLS TE Auto FRR feature.

The undo mpls te bypass-attributes command restores the default settings.

By default, no bypass tunnel attributes in the MPLS TE Auto FRR feature is configured.

Format

mpls te bypass-attributes [ bandwidth bandwidth ] [ priority setup-priority [ hold-priority ] ]

undo mpls te bypass-attributes

Parameters

Parameter Description Value
bandwidth bandwidth Specifies the bandwidth. The value is an integer that ranges from 1 to 4000000000, in kbit/s.
setup-priority Specifies the setup priority. The value is an integer that ranges from 0 to 7. The smaller the value, the higher the priority. The value is 7 by default.
hold-priority Specifies the holding priority. The value is an integer that ranges from 0 to 7. The smaller the value, the higher the priority. The value is 7 by default.

Views

Tunnel interface view

Default Level

2: Configuration level

Usage Guidelines

Prerequisites

Before running the mpls te bypass-attributes command, you must run the mpls te fast-reroute bandwidth command to enable FRR function. The bandwidth of a bypass tunnel cannot be greater than that of the primary tunnel.

Precautions

The setup priority of a bypass tunnel cannot be higher than the holding priority. Both cannot be higher than the priorities of the primary tunnel.

On the same TE tunnel interface, the mpls te bypass-attributes command cannot be configured together with the mpls te bandwidth (tunnel interface view) command.

Example

# Set the bandwidth of the bypass tunnel to 2048 kbit/s, the setup priority to 3, and the holding priority to 3.

<HUAWEI> system-view
[HUAWEI] mpls lsr-id 1.1.1.1
[HUAWEI] mpls
[HUAWEI-mpls] mpls te
[HUAWEI-mpls] quit
[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 bandwidth ct0 10000
[HUAWEI-Tunnel1] mpls te priority 3 3
[HUAWEI-Tunnel1] mpls te fast-reroute bandwidth
[HUAWEI-Tunnel1] mpls te bypass-attributes bandwidth 2048 priority 3 3
[HUAWEI-Tunnel1] mpls te commit
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >