< Home

mpls te bfd enable

Function

The mpls te bfd enable command enables BFD for TE.

The undo mpls te bfd enable command restores the default configuration.

BFD for TE is disabled by default.

Format

mpls te bfd enable

undo mpls te bfd enable

Parameters

None.

Views

MPLS view, tunnel interface view

Default Level

2: Configuration level

Usage Guidelines

If the mpls te bfd enable command is configured in the MPLS view, all TE tunnel interfaces are enabled with BFD for TE, except those configured with the mpls te bfd block command, blocking BFD for TE.

If this command is configured in the tunnel interface view, it only takes effect on the single tunnel interface.

The differences between the undo mpls te bfd enable command and the mpls te bfd block command configured in the tunnel interface view are as follows:

  • When the undo mpls te bfd enable command is run on a tunnel interface, the interface can still obtain the BFD for TE capability after you configure the mpls te bfd enable command in the MPLS view.

  • When the mpls te bfd block command is run on a tunnel interface, the interface cannot obtain the BFD for TE capability even if the mpls te bfd enable command is run in the MPLS view.

  • To enable the BFD for TE capability on a majority of interfaces, you can run the mpls te bfd block command on a minority of interfaces that do not need to be enabled with BFD for TE. Then, you can run the mpls te bfd enable command in the MPLS view to enable the BFD for TE capability for the other interfaces.

  • To enable BFD for TE capability on a few interfaces, you can run the mpls te bfd enable command on these interfaces. After, you can run the undo mpls te bfd enable command or the mpls te bfd block command to disable BFD for TE from these interfaces.

Example

# Enable BFD for TE globally.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls te
[HUAWEI-mpls] mpls te bfd enable

# Enable BFD for TE on the tunnel interface.

<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 bfd enable
[HUAWEI-Tunnel1] mpls te commit
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >