Use this command to associate the VPN instance with the interface connected to the CE.
The specified VPN instance must have been created by using the
system view.
To associate a new VPN instance with an interface, first execute the
vpn-instance
Examples
# Associate VLAN-interface 1 with VPN instance vpn1.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] ip binding vpn-instance vpn1
Related commands
ip vpn-instance
ip vpn-instance (system view)
Use
ip vpn-instance
VPN instance.
Use
undo ip vpn-instance
Syntax
ip vpn-instance vpn-instance-name
undo ip vpn-instance vpn-instance-name
Default
No VPN instances exist.
Views
System view
Predefined user roles
network-admin
Parameters
vpn-instance-name
characters.
Examples
# Create a VPN instance named vpn1 and enter its view.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1]
Related commands
route-distinguisher
route-distinguisher
Use
route-distinguisher
Use
undo route-distinguisher
command to remove the existing association.
(system view)
to create a VPN instance and enter its view, or enter the view of an existing
to delete a VPN instance.
: Specifies a VPN instance name, a case-sensitive string of 1 to 31
to configure an RD.
to restore the default.
ip vpn-instance
6
command in
undo ip binding