401
• 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 BFD for MPLS TE tunnels:
1. Enter system view.
system-view
N/A
2. Enable BFD for MPLS.
mpls bfd enable
By default, BFD for MPLS is
disabled.
3. Enter the view of the MPLS
TE tunnel interface.
interface tunnel
number
N/A
4.
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 for a PW to test PW connectivity.
The packets used to verify PW connectivity are collectively referred to as VCCV packets. A PE
transfers VCCV packets through a control channel (CC).
The switch supports only the router-alert CC that identifies a VCCV packet by adding an MPLS
router alert label before the PW label.
Connectivity Verification (CV) tools include the following types:
• MPLS ping—Uses MPLS ping to verify PW connectivity.
• BFD—Uses BFD to verify PW connectivity. BFD packets use IP/UDP encapsulation (with
IP/UDP headers).
Configuring MPLS ping for a PW
Before you configure MPLS ping for a PW, complete the following tasks:
1. Create a PW class, and use the vccv cc command to configure the VCCV CC type in PW class
view.
2. Create the PW, and reference the PW class created in the previous step for the PW.
Perform the following task in any view:
Use MPLS ping to verify the
connectivity of a PW.
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
]
*
pw
ip-address
pw-id
pw-id
Configuring BFD for a PW
Follow these steps to configure BFD for a PW: