Generic MPLS-TP parameters are configured under config>router>mpls>mpls-tp. If a user configures no mpls, normally the entire MPLS configuration is deleted. However, in the case of MPLS-TP a check that there is no other MPLS-TP configuration; for example, services or tunnels using MPLS-TP on the node, is performed.
The MPLS-TP context is configured as follows:
config
router
mpls
[no] mpls-tp
. . .
[no] shutdown
MPLS-TP LSPs may be configured if the MPLS-TP context is administratively down (shutdown), but they remain down until the MPLS-TP context is configured as administratively up. No programming of the data path for an MPLS-TP path occurs until the following are all true:
MPLS-TP context is no shutdown
MPLS-TP LSP context is no shutdown
MPLS-TP Path context is no shutdown
A shutdown of MPLS-TP therefore brings down all MPLS-TP LSPs on the system.
The MPLS-TP context cannot be deleted if MPLS-TP LSPs or SDPs exist on the system.