R0106-HP MSR Router Series MPLS Configuration Guide(V7)
426
Configuring MPLS BFD for MPLS TE tunnels
To run BFD on an MPLS TE tunnel, configure both the local and remote devices as described in Table 43.
Table 43 Configurations on the local and remote devices
BFD session
establishment
mode
Node type
Execute the "mpls bfd
enable" command?
Execute the
"mpls bfd"
command?
Configure the
discriminator keyword?
Static mode
Local Yes Yes Yes
Remote Yes Yes Yes
Dynamic mode
Local Yes Yes No
Remote Yes No N/A
Follow these guidelines to configure BFD for an MPLS TE tunnel:
• To establish a static BFD session, ensure that the local and remote discriminators configured locally
are identical with the remote and local discriminators configured on the remote device, respectively.
• The source address of the BFD session is the MPLS LSR ID of the local device. Before you configure
BFD for the LSP tunnel, configure an MPLS LSR ID for the local device. Make sure a route is available
on the remote device to reach the MPLS LSR ID.
• 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.
• If both BFD and FRR are enabled for an MPLS TE tunnel, set the BFD detection interval for MPLS TE
tunnel connectivity verification to be longer than that for FRR. Otherwise, the BFD session for MPLS
TE tunnel connectivity verification will be down during an FRR switchover.
To configure MPLS BFD for MPLS TE tunnels:
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. Enter the view of the MPLS TE
tunnel interface.
interface tunnel number N/A
4. Configure BFD to verify MPLS
TE tunnel connectivity.
mpls bfd [ discriminator local
local-id remote remote-id ]
[ template template-name ]
By default, BFD is not configured to
verify MPLS TE tunnel connectivity.
Configuring MPLS OAM for a PW
Virtual Circuit Connectivity Verification (VCCV) is an L2VPN PW OAM function to verify PW connectivity
in data plane. VCCV can be implemented in the following modes:
• On-demand mode—Execute the ping mpls pw command to trigger PW connectivity detection.
• Proactive mode—Configure BFD or raw-BFD for a PW to test PW connectivity.