R3303-HP HSR6800 Routers MPLS Configuration Guide

82
If you enable both FRR and BFD for an MPLS TE tunnel, to make sure the BFD session is not down
during an FRR switching, give the BFD detection interval a greater value than the FRR detection
interval.
In a BFD session for detecting an MPLS TE tunnel's connectivity, the ingress node always operates
in active mode and the egress node always operates in passive mode. The bfd session init-mode
command does not take effect on the ingress and egress nodes of such a BFD session. Even if you
configure the two nodes to both operate in passive mode, the BFD session is still established
successfully.
Configuration prerequisites
The source address of the BFD session is the MPLS LSR ID. Before configuring BFD to inspect an MPLS TE
tunnel, make sure there is a route on the peer device to the MPLS LSR ID. You can also configure the BFD
session parameters on the tunnel interface as needed. For more information about BFD, see High
Availability Configuration Guide.
To establish a static BFD session to inspect an MPLS TE tunnel, make sure there is already an LSP from the
local device to the remote device and an LSP from the remote device to the local device.
Configuration procedure
Ste
p
Command
Remarks
1. Enter system view.
system-view
N/A
2. Enable LSP verification and
enter MPLS LSPV view.
mpls lspv
By default, LSP verification is
disabled.
For more information about this
command, see MPLS Command
Reference.
3. Return to system view.
quit N/A
4. Enter the tunnel interface
view of an MPLS TE tunnel.
interface tunnel tunnel-number N/A
5. Configure BFD to check the
connectivity of the MPLS TE
tunnel.
mpls te bfd enable [ discriminator
local local-id remote remote-id ]
By default, BFD is not configured to
check connectivity of MPLS TE
tunnels.
6. Configure MPLS TE to tear
down a failed RSVP TE
tunnel and reestablish it.
mpls te failure-action teardown
Optional.
Not configured by default.
Configuring periodic LSP tracert for an MPLS TE tunnel
The periodic LSP tracert function for an MPLS TE tunnel is for locating faults of the MPLS TE tunnel
periodically. It detects the consistency of the forwarding and control plane and records detection results
into logs. You can check the logs to see whether an MPLS TE tunnel has failed.
If you configure BFD as well as periodical tracert for an MPLS TE tunnel, once the periodical LSP tracert
function detects a fault or inconsistency of the forwarding plane and control plane of the MPLS TE tunnel,
the BFD session for the tunnel is deleted and a new BFD session is established according to the control
plane.