HP MSR2000/3000/4000 Router Series MPLS Command Reference

220
MPLS BFD and configure the mpls bfd command on both the local and remote devices. Make sure
the discriminators configured on the local device match those configured on the remote device. A
static BFD session is used to verify connectivity of a pair of LSPs in opposite directions (one from
local to remote, and the other from remote to local) between two devices.
Dynamic mode—If you do not specify local and remote discriminators by using the discriminator
keyword in the mpls bfd command, the system automatically runs MPLS ping to negotiate the
discriminator values to establish the BFD session. To establish a dynamic BFD session, you must
enable MPLS BFD on both the local and remote devices, but the mpls bfd command is not needed
on the remote PE. A dynamic BFD session is used to verify the connectivity of a unidirectional LSP
tunnel from the local device to the remote device.
The source address of the BFD session is the MPLS LSR ID of the local device. Before configuring BFD for
the LSP tunnel, configure an MPLS LSR ID for the local device and make sure a route is available on the
remote device to reach the MPLS LSR ID.
Examples
# Use BFD to verify the connectivity of the LSPs to destination 22.22.2.2/32.
<Sysname> system-view
[Sysname] mpls bfd 22.22.2.2 32
# Use BFD to verify the connectivity of the LSP with destination address 22.22.2.2/32 and next hop
address 12.0.0.2.
<Sysname> system-view
[Sysname] mpls bfd 22.22.2.2 32 nexthop 12.0.0.2
# Use BFD to verify the connectivity of the LSP with destination address 22.22.2.2/32 and next hop
address 12.0.0.2, set the local and remote discriminators both to 1, and reference the BFD session
parameter template test.
<Sysname> system-view
[Sysname] mpls bfd 22.22.2.2 32 nexthop 12.0.0.2 discriminator local 1 remote 1 template
test
Related commands
display mpls bfd
mpls bfd enable
mpls bfd (for TE tunnel)
Use mpls bfd to enable BFD on an MPLS TE tunnel.
Use undo mpls bfd to disable BFD on an MPLS TE tunnel.
Syntax
mpls bfd [ discriminator local local-id remote remote-id ] [ template template-name ]
undo mpls bfd
Default
BFD is not enabled on an MPLS TE tunnel.
Views
Tunnel interface view