501
Step Command
Remarks
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 feature 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.
The packets used to verify PW connectivity are collectively referred to as VCCV packets. A PE
transfers VCCV packets through a control channel (CC).
CCs include the following types:
•
Control
word
—Identifies VCCV packets through the control word (PW-ACH, PW Associated
Channel Header). You can use this CC type only when the PW supports control word. For more
information about control word, see "Configuring MPLS L2VPN."
•
MPLS router alert label
—Identifies a VCCV packet by adding an MPLS router alert label
before the PW label.
•
TTL
expiry
—Identifies a VCCV packet by setting the TTL value of the PW label to 1.
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).
•
Raw-BFD
—
Uses BFD to verify PW connectivity. BFD packets use PW-ACH encapsulation
(without IP/UDP headers). Raw-BFD takes effect only when the CC type is
control-word
.
Configuring MPLS ping for a PW
Before you configure MPLS ping for a PW, perform 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 use the PW class created in the previous step for the PW.
Perform the following task in any view:
Task Command
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:
1.
Enable BFD for MPLS.
2.
Create a PW class, and configure BFD for PW connectivity verification in PW class view.