mpls te path verification (Tunnel interface view)

Function

The mpls te path verification enable command enables path verification for SR-MPLS TE tunnels. If a label is defective, a device can set the LSP that uses the label to Down.

The undo mpls te path verification enable command disables path verification for SR-MPLS TE tunnels. If a label is defective, a device cannot set the LSP that uses the label to Down.

The mpls te path verification disable command disables path verification for SR-MPLS TE tunnels. If a label is defective, a device cannot set the LSP that uses the label to Down.

The undo mpls te path verification disable command enables path verification for SR-MPLS TE tunnels. If a label is defective, a device can set the LSP that uses the label to Down.

By default, path verification is disabled for SR-MPLS TE tunnels.

Format

mpls te path verification enable

mpls te path verification disable

undo mpls te path verification enable

undo mpls te path verification disable

Parameters

None

Views

Tunnel interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

Usage Scenario

SR-MPLS TE cannot detect tunnel status changes by itself. SR-MPLS TE uses the controller or BFD to detect status changes. If neither a controller nor BFD is available, run the mpls te path verification enable command to enable path verification for SR-MPLS TE tunnels. With this function enabled, if a label becomes defective, the device sets the LSP that uses the label in an SR-MPLS TE tunnel to Down, preventing a traffic blackhole caused by a tunnel fault.

If a controller or BFD is configured, run the undo mpls te path verification enable command to disable path verification.

Prerequisites

If the function is to be configured in the tunnel interface view, an SR-MPLS TE tunnel has been configured using the mpls te signal-protocol segment-routing command.

Precautions

The MPLS view is used for global configuration, whereas the tunnel interface view is for local configuration. The configuration in the tunnel interface view takes preference over that in the MPLS view. If a configuration in the MPLS view conflicts with that in the tunnel interface view, the configuration in the tunnel interface view takes effect.

Path verification takes effect only on SR-MPLS TE tunnels.

Example

# Enable path verification for an SR-MPLS TE tunnel named Tunnel1.
<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] mpls te signal-protocol segment-routing
[*HUAWEI-Tunnel1] mpls te path verification enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >