The mpls ldp vpn-instance command enables LDP for a VPN instance and displays MPLS LDP view.
The undo mpls ldp vpn-instance command restores the default configuration.
By default, there is not a VPN instance is enabled with LDP globally.
Parameter | Description | Value |
---|---|---|
vpn-instance-name |
Specifies the name of a VPN instance for which LDP is enabled globally. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string. |
Usage Scenario
Globally enabling MPLS LDP is the basis of configuring LDP-related functions. On a network to be enabled with MPLS LDP, run the mpls ldp command to globally enable LDP for a VPN instance. After this command is run, the MPLS-LDP view is displayed. You can configure LDP function in that view.
Prerequisites
MPLS has been enabled globally using the mpls (system view) command.
Precautions
Running the undo mpls ldp command in the system view deletes all MPLS LDP configurations in the system and interface views.