The Multiprotocol Label Switching (MPLS) operation, administration and maintenance (OAM) mechanism effectively detects and locates MPLS link faults. The MPLS OAM mechanism also triggers a protection switchover after detecting a fault.
Table 1 describes MPLS OAM packets.
Packet Type |
Description |
|
---|---|---|
Continuity check |
Connectivity verification (CV) packet |
Sent by a local MEP to detect exceptions. If the local MEP detects an exception, it sends an alarm to its client-layer MEP. For example, if a CV-enabled device receives a packet on an incorrect LSP, the device will report an alarm indicating a forwarding error to the client-layer MEP. |
Fast failure detection (FFD) packet |
Sent by a maintenance association end point (MEP) to rapidly detect an LSP fault. If the MEP detects a fault, it sends an alarm to the client layer. NOTE:
|
|
Backward defect indication (BDI) packet |
Sent by the egress to notify the ingress of an LSP defect. |
Table 2 describes channel defects that MPLS OAM can detect.
Defect Type |
Description |
---|---|
MPLS layer defects |
|
Other defects |
|
A reverse tunnel is bound to an LSP that is monitored using MPLS OAM. The reverse tunnel can transmit BDI packets to notify the ingress of an LSP defect. A reverse tunnel and the LSP to which the reverse tunnel is bound must have the same endpoints, and they transmit traffic in opposite directions. The reverse tunnels transmitting BDI packets include private or shared LSPs. Table 3 lists the two types of reverse tunnel.
type |
Description |
---|---|
Private reverse LSP |
Bound to only one LSP. The binding between the private reverse LSP and its forward LSP is stable but may waste LSP resources. |
Shared reverse LSP |
Bound to many LSPs. A TTSI carried in a BDI packet identifies a specific forward LSP bound to a reverse LSP. The binding between a shared reverse LSP and multiple forward LSPs minimizes LSP resource wastes. If defects occur on multiple LSPs bound to the shared reverse LSP, the reverse LSP may be congested with traffic. |
MPLS OAM periodically sends CV or FFD packets to monitor TE LSPs, PWs, or ring networks.
MPLS OAM monitors TE LSPs. If MPLS OAM detects a fault in a TE LSP, it triggers a traffic switchover to minimize traffic loss.
Figure 1 illustrates a network on which MPLS OAM monitors TE LSP connectivity. The process of using MPLS OAM to monitor TE LSP connectivity is as follows:
The ingress sends a CV or FFD packet along a TE LSP to be monitored. The packet passes through the TE LSP and arrives at the egress.
The egress compares the packet type, frequency, and TTSI in the received packet with the locally configured values to verify the packet. In addition, the egress collects the number of correct and incorrect packets within a detection interval.
If the egress detects an LSP defect, the egress analyzes the defect type and sends a BDI packet carrying defect information to the ingress along a reverse tunnel. The ingress can then be notified of the defect. If a protection group is configured, the ingress switches traffic to a backup LSP.
MPLS OAM periodically sends CV or FFD packets to monitor PW connectivity. If MPLS OAM detects a PW defect, it sends BDI packets carrying the defect type along a reverse tunnel and instructs a client-layer application to switch traffic from the active link to the standby link.