R3303-HP HSR6800 Routers MPLS Command Reference

3
[Sysname] ip ip-prefix peer-C permit 3.3.3.9 32
[Sysname] ip ip-prefix peer-D permit 4.4.4.9 32
[Sysname] mpls ldp
[Sysname-mpls-ldp] advertise-label ip-prefix prefix-to-C peer peer-C
[Sysname-mpls-ldp] advertise-label ip-prefix prefix-to-D peer peer-D
Related commands
ip ip-prefix (Layer 3—IP Routing Command Reference)
bfd enable
Use bfd enable to enable BFD to detect the connectivity of the LSPs for an FEC.
Use undo bfd enable to disable BFD detection of the LSP connectivity to a destination address.
Syntax
bfd enable destination-address mask-length [ nexthop nexthop-address [ discriminator local local-id
remote remote-id ] ]
undo bfd enable destination-address mask-length [ nexthop nexthop-address ]
Default
BFD detection is disabled.
Views
MPLS LSPV view
Default command level
2: System level
Parameters
destination-address mask-length: Specifies an FEC by a destination address and the mask length of the
address. The value range for mask-length is 0 to 32.
nexthop nexthop-address: Specifies a next hop address for the FEC. If you specify a next hop address,
the BFD detects the specified LSP. If you do not specify it, the BFD detects all LSPs for the FEC.
discriminator: Specifies the discriminator values of the BFD session.
local local-id: Specifies the local discriminator value of the BFD session. The value range depends on
device model.
remote remote-id: Specifies the remote discriminator value of the BFD session. The value ranges from 1
to 4294967295.
Usage guidelines
Enable LSP verification by using the mpls lspv command before executing the bfd enable command.
The BFD session parameters are those configured on the loopback interface whose IP address is
configured as the MPLS LSR ID. The BFD packets use the MPLS LSR ID as the source address. Before
enabling BFD for an LSP, configure an IP address for the loopback interface and configure the MPLS LSR
ID as the IP address of the loopback interface. You can also configure BFD session parameters for the
loopback interface as needed.
Examples
# Enable BFD to detect the LSP connectivity to destination 1.1.1.9/32.