A SERVICE OF

logo

1696 CHAPTER 98: MPLS L3VPN CONFIGURATION COMMANDS
By default, an interface is associated with no VPN instance; it belongs to the public
network.
When configured on an interface, the ip binding vpn-instance command clears
the IP address of the interface. Therefore, you must re-configure the IP address of
the interface after configuring the command.
Example # Associate interface Ethernet1/0 with VPN instance vpn1.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Etherne1/0] ip binding vpn-instance vpn1
ip vpn-instance
Syntax ip vpn-instance vpn-instance-name
undo ip vpn-instance vpn-instance-name
View System view
Parameter vpn-instance-name: Name for the VPN instance, a case-sensitive string of 1 to 31
characters.
Description Use the
ip vpn-instance command to create a VPN instance and enter VPN
instance view.
Use the
undo ip vpn-instance command to delete a VPN instance.
A VPN instance takes effect only after you configure an RD for it.
Related command: route-distinguisher (VPN instance view).
Example # Create a VPN instance named vpn1.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1]
ipv4-family
Syntax ipv4-family { vpnv4 | vpn-instance vpn-instance-name }
undo ipv4-family { vpnv4 | vpn-instance vpn-instance-name }
View BGP view
Parameter vpnv4: Enters BGP-VPNv4 subaddress family view.