# MPLS-IP Configuration Mode Commands

The MPLS-IP Configuration Mode is used for configuration of Multiprotocol Label Switching (MPLS) IP forwarding specific parameters. This mode is entered from the Context Configuration Mode.

IMPORTANT:

The commands or keywords/variables that are available are dependent on platform type, product version, and installed license(s).
end

Exits the current configuration mode and returns to the Exec mode.
Product:

All
Privilege:

Security Administrator, Administrator
Syntax

    end

Usage:

Use this command to return to the Exec mode.
exit

Exits the current mode and returns to the parent configuration mode.
Product:

All
Privilege:

Security Administrator, Administrator
Syntax

    exit

Usage:

Use this command to return to the parent configuration mode.
protocol

This command creates or removes the MPLS protocol family configuration modes, or configures an existing protocol and enters the MPLS-LDP Configuration Mode in the current context. This command configures the protocol parameters for the MPLS protocol family.
Platform:

ASR 5000

ASR 5500
Product:

GGSN, P-GW, SAEGW
Privilege:

Security Administrator, Administrator
Syntax

    [ no ] protocol
    ldp

no

Removes the configured MPLS-LDP mode from MPLS-IP Configuration mode.
ldp

Specifies the type of MPLS protocol to LDP and creates/enters the MPLS-LDP Configuration Mode for Label Distribution Protocol (LDP) specific configuration in an MPLS-IP configuration instance.
Usage:

Use this command to create/ or remove the MPLS protocol family configuration mode, or configure an existing protocol. If required mode already exists it enters the MPLS-LDP Configuration Mode in the current context.

Entering this command results in the following prompt:

    [context_name]hostname(config-ldp)#

The commands configured in this mode are defined in the MPLS-LDP Configuration Mode Commands chapter.
Example:
The following command creates and enters the MPLS-LDP Protocol mode for Label Distribution Protocol parameters in MPLS-IP Configuration instance:

    protocol ldp