HP MSR2000/3000/4000 Router Series MPLS Command Reference

219
Usage guidelines
To use BFD to verify LSP connectivity, you must use this command to enable MPLS BFD. Otherwise, the
BFD session cannot be established after you execute the mpls bfd (for LSP) command.
Examples
# Enable MPLS BFD.
<Sysname> system-view
[Sysname] mpls bfd enable
mpls bfd (for LSP)
Use mpls bfd to enable BFD for LSPs associated with a specific FEC.
Use undo mpls bfd to disable BFD for LSPs associated with a specific FEC.
Syntax
mpls bfd dest-addr mask-length [ nexthop nexthop-address [ discriminator local local-id remote
remote-id ] ] [ template template-name ]
undo mpls bfd dest-addr mask-length [ nexthop nexthop-address ]
Default
BFD is not used to verify LSP connectivity for an FEC.
Views
System view
Predefined user roles
network-admin
Parameters
dest-addr mask-length: Specifies an FEC by a destination address and the destination address mask. The
mask length is in the range of 0 to 32.
nexthop nexthop-address: Specifies the next hop address of the FEC. If you specify the FEC next hop,
BFD verifies the specified LSP. If you do not specify the next hop, BFD verifies all LSPs for the FEC.
discriminator: Specifies discriminator values for the BFD session.
local local-id: Specifies the local discriminator value for the BFD session, in the range of 1 to 32.
remote remote-id: Specifies the remote discriminator value for the BFD session, in the range of 1 to
4294967295.
template template-name: Specifies a BFD session parameter template by its name, a case-sensitive string
of 1 to 31 characters. If no template is specified, BFD uses the multihop BFD session parameters
configured in system view.
Usage guidelines
After you enable MPLS BFD with the mpls bfd enable command and execute the mpls bfd command, the
device creates a BFD session for each LSP for an FEC. When an LSP fails, BFD can detect the failure in
time and notify the device to take an action accordingly, such as switching traffic to the backup LSP.
A BFD session for LSP connectivity verification can be established in one of the following modes:
Static mode—You manually specify the local and remote discriminator values by using the
discriminator keyword in the mpls bfd command to establish the BFD session. You must enable