The mpls rsvp-te bfd block command blocks the BFD for RSVP capability on an interface.
The undo mpls rsvp-te bfd block command restores the default configuration.
By default, the BFD for RSVP capability on an interface is not blocked.
VLANIF interface view, GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-trunk interface view
The mpls rsvp-te bfd block command and the mpls rsvp-te bfd enable command are mutually exclusive.
The mpls rsvp-te bfd block command is similar to the undo mpls rsvp-te bfd enable command. Their differences are as follows:
When the undo mpls rsvp-te bfd enable command is run to disable BFD for RSVP on an RSVP interface, the interface can obtain the BFD for RSVP capability after you configure the mpls rsvp-te bfd all-interfaces enable command in the MPLS view.
When the mpls rsvp-te bfd block command is run on an interface, the interface cannot obtain the BFD for RSVP capability even if the mpls rsvp-te bfd all-interfaces enable command is run in the MPLS view.
To enable the BFD for RSVP capability on a majority of interfaces, you can run the mpls rsvp-te bfd block command on a minority of interfaces that do not need to be enabled with BFD for RSVP. Then, you can run the mpls rsvp-te bfd all-interfaces enable command in the MPLS view to enable the BFD for RSVP capability for the desired majority.
To enable BFD for RSVP capability on a few interfaces, you can run the mpls rsvp-te bfd enable command on these specific interfaces. In addition, you can run the undo mpls rsvp-te bfd enable command or the mpls rsvp-te bfd block command to disable BFD for RSVP on these interfaces.
# Disable BFD for RSVP on interface VLANIF100.
<HUAWEI> system-view [HUAWEI] interface vlanif 100 [HUAWEI-Vlanif100] mpls [HUAWEI-Vlanif100] mpls te [HUAWEI-Vlanif100] mpls rsvp-te [HUAWEI-Vlanif100] mpls rsvp-te bfd block
<HUAWEI> system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo portswitch [HUAWEI-GigabitEthernet0/0/1] mpls [HUAWEI-GigabitEthernet0/0/1] mpls te [HUAWEI-GigabitEthernet0/0/1] mpls rsvp-te [HUAWEI-GigabitEthernet0/0/1] mpls rsvp-te bfd block