HP MSR2000/3000/4000 Router Series MPLS Command Reference

221
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:
MSR2000 MSR3000 MSR4000
0 to 32 0 to 64 0 to 64
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 BFD session parameters configured in
tunnel interface 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 on the MPLS TE tunnel. When the MPLS TE tunnel fails, BFD can quickly
detect the failure and notify the device of the failure, so the device can take a predefined action, such as
switching traffic to the backup tunnel.
A BFD session can be established in one of the following ways:
Static mode—You manually specify the local and remote discriminators by using the discriminator
keyword in the mpls bfd command to establish the BFD session. You must enable MPLS BFD and
configure the mpls bfd command on both the local and remote devices. Make sure the local
discriminator and remote discriminator configured on the local PE are the same as the remote
discriminator and local discriminator configured on the remote PE, respectively. A static BFD session
is used to verify the connectivity of a pair of MPLS TE tunnels 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 in the mpls bfd command,
the system automatically runs MPLS ping to negotiate the discriminator values and establishes 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 device. A dynamic BFD session is used to verify the
connectivity of a unidirectional MPLS TE 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 MPLS TE 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
# Enable BFD for the MPLS TE tunnel interface Tunnel 1, and reference the BFD session parameter
template test.
<Sysname> system-view
[Sysname] interface Tunnel 1
[Sysname-Tunnel1] mpls bfd template test
# Enable BFD for the MPLS TE tunnel interface Tunnel 1, and set the local and remote discriminators both
to 1.
<Sysname> system-view