R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide
311
Examples
# Enter BGP-VPNv4 subaddress family view.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4]
ipv4-family (VPN instance view)
Use ipv4-family in VPN instance view to enter IPv4 VPN view.
Use undo ipv4-family to remove all configurations performed in IPv4 VPN view.
Syntax
ipv4-family
undo ipv4-family
Views
VPN instance view
Default command level
2: System level
Examples
# Enter IPv4 VPN view.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] ipv4-family
[Sysname-vpn-ipv4-vpn1]
mpls ldp vpn-instance
Use mpls ldp vpn-instance to enable LDP for a VPN instance, create an LDP instance, and enter MPLS
LDP VPN instance view.
Use undo mpls ldp vpn-instance to disable LDP for a VPN instance and remove the LDP instance.
Syntax
mpls ldp vpn-instance vpn-instance-name
undo mpls ldp vpn-instance vpn-instance-name
Default
A VPN instance is not enabled with LDP.
Views
System view
Default command level
2: System level










