R0106-HP MSR Router Series MPLS Command Reference(V7)
226
To associate a new VPN instance with an interface, you must remove the previous association by using
the undo ip binding vpn-instance command and then use the ip binding vpn-instance command to
associate the new VPN instance with the interface.
Examples
# Associate interface GigabitEthernet 2/1/1 with VPN instance vpn1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] ip binding vpn-instance vpn1
Related commands
ip vpn-instance (system view)
ip vpn-instance (system view)
Use ip vpn-instance to create a VPN instance and enter VPN instance view.
Use undo ip vpn-instance to delete a VPN instance.
Syntax
ip vpn-instance vpn-instance-name
undo ip vpn-instance vpn-instance-name
Default
No VPN instance is created.
Views
System view
Predefined user roles
network-admin
Parameters
vpn-instance-name: Specifies a VPN instance by its name, a case-sensitive string of 1 to 31 characters.
Usage guidelines
The following matrix shows the maximum number of VPN instances that can be created in the system:
Hardware Maximum value
MSR2000 1023
MSR3000 2047
MSR4000 4095
Examples
# Create a VPN instance named vpn1.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1]
Related commands
route-distinguisher