311
mpls ldp vpn-instance
Description
Use the mpls ldp vpn-instance command to enable LDP for a VPN instance, create an LDP instance, and
enter MPLS LDP VPN instance view.
Use the undo mpls ldp vpn-instance command to disable LDP for a VPN instance and remove the LDP
instance.
By default, a VPN instance is not enabled with LDP.
Before configuring the mpls ldp vpn-instance command, you need to configure the MPLS LSR ID and
enable MPLS for the device.
Related commands: mpls and mpls lsr-id.
Syntax
mpls ldp vpn-instance vpn-instance-name
undo mpls ldp vpn-instance vpn-instance-name
View
System view
Default level
2: System level
Parameters
vpn-instance-name: Specifies the name of the VPN instance, which is a case-sensitive string of 1 to 31
characters.
Examples
# Enable LDP for the VPN instance vpn1, create the LDP instance, and enter the MPLS LDP VPN instance
view.
<Sysname> System-view
[Sysname] mpls ldp vpn-instance vpn1
[Sysname-mpls-ldp-vpn-instance-vpn1]
nesting-vpn
Description
Use the nesting-vpn command to enable the nested VPN function.
Use the undo nesting-vpn command to disable the nested VPN function.
By default, the nested VPN function is disabled.
If a nested VPN peer connected to a PE needs to advertise VPNv4 routes, you need to enable nested
VPN on the PE.
Syntax
nesting-vpn
undo nesting-vpn