The ip vpn-instance command creates a VPN instance and displays the VPN instance view.
The undo ip vpn-instance command deletes a specified VPN instance.
By default, no VPN instance is configured.
Parameter | Description | Value |
---|---|---|
vpn-instance-name | Specifies the name of a VPN instance. | The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
Usage Scenario
When private network data needs to travel across a public network, you need to configure a VPN instance on the PE of the public network. The public network mentioned here is an MPLS backbone network.
A multi-VPN-instance CE (MCE) device can connect to multiple VPNs. The MCE solution isolates services of different VPNs while reducing cost of network devices. Before configuring an MCE device, configure a VPN instance on the MCE device.
VPN instances are required for all L3VPN configurations.
Precautions
After the ip vpn-instance command is run, a virtual routing table is created on the PE or MCE and consumes resources on the PE or MCE.
After the undo ip vpn-instance command is used to delete a VPN instance, all configurations of this VPN instance are deleted.
A VPN instance with a BFD session bound can be deleted using the undo ip vpn-instance command only after the bound BFD session is deleted.
Follow-up Procedure
After creating a VPN instance, perform the following configurations in the VPN instance view: