R3303-HP HSR6800 Routers MPLS Command Reference

314
ip binding vpn-instance
Use ip binding vpn-instance to associate an interface with a VPN instance.
Use undo ip binding vpn-instance to remove the association.
Syntax
ip binding vpn-instance vpn-instance-name
undo ip binding vpn-instance vpn-instance-name
Default
An interface is associated with no VPN instance; it belongs to the public network.
Views
Interface view
Default command level
2: System level
Parameters
vpn-instance-name: Specifies the name of the VPN instance to be associated, a case-sensitive string of 1
to 31 characters.
Usage guidelines
When configured on an interface, the ip binding vpn-instance command clears the IP address of the
interface. You must re-configure the IP address of the interface after configuring the command.
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
ip vpn-instance
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
Views
System view
Default command level
2: System level
Parameters
vpn-instance-name: Specifies the name for the VPN instance, a case-sensitive string of 1 to 31 characters.