< Home

mpls te bfd block

Function

The mpls te bfd block command blocks the BFD capability on a specified tunnel interface of a CR-LSP.

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

The BFD capability is not blocked on a tunnel interface by default.

Format

mpls te bfd block

undo mpls te bfd block

Parameters

None.

Views

Tunnel interface view

Default Level

2: Configuration level

Usage Guidelines

The mpls te bfd block command and the mpls te bfd enable command are mutually exclusive.

The differences between the mpls te bfd block command and the undo mpls te bfd enable command 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 on 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

# Block the BFD capability on Tunnel 1.

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