mpls rsvp-te bfd (Interface view) (Switch)

Function

The mpls rsvp-te bfd enable command enables the BFD for RSVP capability on an interface.

The undo mpls rsvp-te bfd enable command disables the BFD for RSVP capability on an interface.

The mpls rsvp-te bfd block command blocks the BFD for RSVP capability on an interface of a CR-LSP.

The undo mpls rsvp-te bfd block command enables the BFD for RSVP capability.

By default, the BFD for RSVP capability on an interface is disabled.

Format

mpls rsvp-te bfd { enable | block }

undo mpls rsvp-te bfd { enable | block }

Parameters

Parameter Description Value
enable

Enable BFD for RSVP on the interface.

-

block

Block the BFD for RSVP capability of the interface.

-

Views

100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, GE optical interface view, GE sub-interface view, GE electrical interface view, GMPLS-UNI interface view, Tunnel interface view, XGE sub-interface view, XGE interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

Usage Scenario

The mpls rsvp-te bfd enable command and the mpls rsvp-te bfd block command are covering each other. When using these commands, note the following:

If the undo mpls rsvp-te bfd enable command is run to disable BFD for RSVP on an RSVP interface, the interface can still obtain the BFD for RSVP capability after you configure the mpls rsvp-te bfd all-interfaces enable command in the MPLS view.

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

Prerequisites

BFD has been enabled globally.

RSVP-TE has been enabled on interfaces and the node.

Example

# Disable BFD for RSVP on the interface.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] mpls rsvp-te
[*HUAWEI-mpls] quit
[*HUAWEI] bfd
[*HUAWEI-bfd] quit
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] mpls
[*HUAWEI-GigabitEthernet0/1/0] mpls te
[*HUAWEI-GigabitEthernet0/1/0] mpls rsvp-te
[*HUAWEI-GigabitEthernet0/1/0] mpls rsvp-te bfd block
# Enable the BFD for RSVP capability on the interface.
<HUAWEI> system-view
[~HUAWEI] mpls lsr-id 1.1.1.1
[*HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] mpls rsvp-te
[*HUAWEI-mpls] quit
[*HUAWEI] bfd
[*HUAWEI-bfd] quit
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] mpls
[*HUAWEI-GigabitEthernet0/1/0] mpls te
[*HUAWEI-GigabitEthernet0/1/0] mpls rsvp-te
[*HUAWEI-GigabitEthernet0/1/0] mpls rsvp-te bfd enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >