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.
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.<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