R21xx-HP FlexFabric 11900 MPLS Command Reference

Table Of Contents
75
Predefined user roles
network-admin
Parameters
vpn-instance-name: Specifies a VPN instance by its name, a case-sensitive string of 1 to 31 characters.
Usage guidelines
Enabling LDP for VPNs is used for the Carrier's Carrier network that uses LDP between the Level 1 carrier
and Level 2 carrier PEs. In such a network, you must enable LDP for each VPN on each Level 1 carrier PE.
The VPN instance specified by this command must have been created by the ip vpn-instance command
in system view.
The GR commands, the session protection command, and the targeted-peer command are available
only in LDP view. All other commands available in LDP view are available in LDP-VPN instance view.
Commands executed in LDP view take effect only for the public network. Commands executed in
LDP-VPN instance view take effect only for the specified VPN instance. The GR commands are global
commands and take effect for all VPN instances and the public network.
Examples
# Enable LDP for the VPN instance vpn1 and enter LDP-VPN instance view.
<Sysname> System-view
[Sysname] mpls ldp
[Sysname-ldp] vpn-instance vpn1
[Sysname-ldp-vpn1]
Related commands
ip vpn-instance
mpls ldp