R0106-HP MSR Router Series MPLS Command Reference(V7)
305
and remote devices, but the mpls bfd command is not needed on the remote PE. A dynamic BFD
session verifies 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, perform the following tasks:
1. Configure an MPLS LSR ID for the local device.
2. 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
Predefined user roles
network-admin
Parameters
discriminator: Specifies discriminator values for the BFD session.
local local-id: Specifies the local discriminator value for the BFD session. The following matrix shows the
value ranges for the local-id argument: