The ip dcn vpn-instance command creates a VPN instance and displays the VPN instance view.
The undo ip dcn vpn-instance command deletes a specified VPN instance.
By default, no VPN instance is created.
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. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string. _public_ refers to a public network VPN instance. |
Usage Scenario
If private network data needs to travel across a public network, you must configure VPN instances on public network PEs. The public network mentioned here is an MPLS backbone network.
VPN instances are required for all L3VPN configurations.Configuration Impact
After the ip vpn-instance command is run on a PE, a virtual routing table is created on the PE and consumes resources on the PE.
Follow-up Procedure
After creating a VPN instance, perform the following configurations in the VPN instance view:
Precautions
After a VPN instance is deleted using the undo ip vpn-instance command, configurations in the VPN instance as well as the VPN instance-related configurations in the BGP view will be deleted. Therefore, exercise caution when you run this command.
DCN VPN is created by default for the system and cannot be created or deleted manually.