The mpls oam command globally enables MPLS OAM.
The undo mpls oam command disables MPLS OAM.
This command varies in transport and router modes. For detailed differences, see Differences Between Commands in Transport and Router Modes. This topic describes the command configuration in router mode.
By default, MPLS OAM is globally disabled.
Usage Scenario
MPLS OAM is a fault detection mechanism used at the MPLS network layer. MPLS OAM provides the following functions:
Prerequisites
The MPLS view has been displayed using the mpls command.
Precautions
After the undo mpls oam command is run, all MPLS OAM configurations are deleted.
Both MPLS OAM and BFD or MPLS-TP OAM cannot be configured for the same TE tunnel or CR-LSP.