R0106-HP MSR Router Series MPLS Configuration Guide(V7)
425
• 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.
• If multiple LSPs exist for an FEC, you can do one of the following:
{ Create a BFD session for an LSP by specifying the next hop of the LSP.
{ Create a BFD session for each LSP without specifying a next hop.
• On a BFD session established in static mode, the ingress node and egress node both operate in
active mode. On a BFD session established in dynamic mode, the egress node operates in active
mode and the ingress node operates in passive mode. Executing the bfd session init-mode
command on the ingress or egress node does not change the node's operating mode.
To configure MPLS BFD for LSPs:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enable MPLS BFD.
mpls bfd enable By default, MPLS BFD is disabled.
3. Configure BFD to verify LSP
connectivity for an FEC.
mpls bfd dest-addr mask-length
[ nexthop nexthop-address
[ discriminator local local-id
remote remote-id ] ] [ template
template-name ]
By default, BFD is not configured to
verify LSP connectivity for an FEC.
Configuring MPLS OAM for MPLS TE tunnels
To verify MPLS TE tunnel connectivity, you can use one of the following methods:
• Use ping mpls te command or the tracert mpls te command to trigger MPLS TE tunnel connectivity
verification as needed.
• Configure MPLS BFD for the system to automatically verify MPLS TE tunnel connectivity.
Configuring MPLS ping for MPLS TE tunnels
Perform the following task in any view:
Task Command
Use MPLS ping to verify MPLS TE tunnel
connectivity.
ping mpls [ -a source-ip | -c count | -exp exp-value | -h
ttl-value | -m wait-time | -r reply-mode | -rtos tos-value | -s
packet-size | -t time-out | -v ] * te tunnel interface-number
Configuring MPLS traceroute for MPLS TE tunnels
Perform the following task in any view:
Task Command
Use MPLS traceroute to trace an MPLS
TE tunnel.
tracert mpls [ -a source-ip | -exp exp-value | -h ttl-value | -r
reply-mode | -rtos tos-value | -t time-out | -v | fec-check ] * te tunnel
interface-number