mpls te bfd tunnel enable

Function

The mpls te bfd tunnel enable command enables BFD for SR-MPLS TE tunnel.

The undo mpls te bfd tunnel enable command disables BFD for SR-MPLS TE tunnel.

By default, the SBFD for SR-MPLS TE tunnel and one-arm BFD for SR-MPLS TE tunnel functions are disabled.

Format

mpls te bfd tunnel enable { one-arm-echo | seamless }

undo mpls te bfd tunnel enable { one-arm-echo | seamless }

Parameters

Parameter Description Value
one-arm-echo

Enables one-arm BFD for SR-MPLS TE tunnel.

-

seamless

Enables SBFD for SR-MPLS TE tunnel.

-

Views

Tunnel interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

Usage Scenario

One-arm BFD for SR-MPLS TE tunnel can be used to quickly detect faults on an inter-AS E2E SR-MPLS TE tunnel and protect traffic on the tunnel. The mpls te bfd tunnel enable one-arm-echo command enables one-arm BFD for SR-MPLS TE tunnel.

If the mpls te bfd tunnel enable one-arm-echo command is run in the MPLS view, one-arm BFD is enabled for all E2E SR-MPLS TE tunnels. To disable one-arm BFD for a tunnel, run the mpls te bfd tunnel block command.

Precautions

The undo mpls te bfd tunnel enable one-arm-echo command in the tunnel interface view is different from the mpls te bfd tunnel block command:

  • After the undo mpls te bfd tunnel enable one-arm-echo command is run in the tunnel interface view, the tunnel interface is still capable of one-arm BFD for SR-MPLS TE tunnel if the mpls te bfd tunnel enable one-arm-echo command is run in the MPLS view.
  • If the mpls te bfd tunnel block command is run in the tunnel interface view, one-arm BFD for SR-MPLS TE is disabled even if the mpls te bfd tunnel enable one-arm-echo command is run in the MPLS view.
  • To enable one-arm BFD for SR-MPLS TE tunnel for a majority of tunnel interfaces, run the mpls te bfd tunnel block command for each tunnel interface that does not need the function and then run the mpls te bfd tunnel enable one-arm-echo command in the MPLS view.
  • To enable one-arm BFD for SR-MPLS TE tunnel for a small number of tunnel interfaces, run the mpls te bfd tunnel enable one-arm-echo command on each of these interfaces.

Example

# Enable one-arm BFD for SR-MPLS TE tunnel on a tunnel interface named Tunnel1.
<HUAWEI> system-view
[~HUAWEI] mpls lsr-id 1.1.1.1
[*HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] quit
[*HUAWEI] interface Tunnel1
[*HUAWEI-Tunnel1] tunnel-protocol mpls te
[*HUAWEI-Tunnel1] mpls te signal-protocol segment-routing
[*HUAWEI-Tunnel1] mpls te bfd tunnel enable one-arm-echo
# Enable SBFD for SR-MPLS TE tunnel on a tunnel interface named Tunnel1.
<HUAWEI> system-view
[~HUAWEI] bfd
[*HUAWEI-bfd] quit
[*HUAWEI] sbfd
[*HUAWEI-sbfd] quit
[*HUAWEI] mpls lsr-id 1.1.1.1
[*HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] quit
[*HUAWEI] interface Tunnel1
[*HUAWEI-Tunnel1] tunnel-protocol mpls te
[*HUAWEI-Tunnel1] mpls te signal-protocol segment-routing
[*HUAWEI-Tunnel1] mpls te bfd tunnel enable seamless
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >