Configuring MPLS BFD for LSPs

To configure MPLS BFD for an LSP, configure both the local and remote devices as described in Table 28.

Table 28: Configurations on the local and remote devices

BFD session establishment mode

Node type

Execute the "mpls bfd enable" command?

Execute the "mpls bfd" command?

Configure the discriminator keyword?

Static mode

Local

Yes

Yes

Yes

Remote

Yes

Yes

Yes

Dynamic mode

Local

Yes

Yes

No

Remote

Yes

No

N/A

Follow these guidelines to configure BFD for an LSP tunnel:

To configure MPLS BFD for LSPs:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enable MPLS BFD.

mpls bfd enable

By default, MPLS BFD is disabled.

3. Configure BFD to verify LSP connectivity for an FEC.

mpls bfd dest-addr mask-length [ nexthop nexthop-address [ discriminator local local-id remote remote-id ] ] [ template template-name ]

By default, BFD is not configured to verify LSP connectivity for an FEC.