3com S7906E Guide De Référence

Page de 2327
 
1-18 
Description 
Use the ip binding vpn-instance command to associate an interface with a VPN instance. 
Use the undo ip binding vpn-instance command to remove the association. 
By default, an interface is associated with no VPN instance; it belongs to the public network. 
When configured on an interface, the ip binding vpn-instance command clears the IP address of the 
interface. Therefore, you must re-configure the IP address of the interface after configuring the 
command. 
Examples 
# Associate Vlan-interface 1 with the VPN instance named “vpn1”. 
<Sysname> system-view 
[Sysname] interface Vlan-interface1 
[Sysname-Vlan-interface1] ip binding vpn-instance vpn1 
ip vpn-instance 
Syntax 
ip vpn-instance vpn-instance-name 
undo ip vpn-instance vpn-instance-name 
View 
System view 
Default Level 
2: System level 
Parameters 
vpn-instance-name: Name of the VPN instance, a case-insensitive string of 1 to 31 characters. 
Description 
Use the ip vpn-instance command to create a VPN instance and enter VPN instance view. 
Use the undo ip vpn-instance command to delete a VPN instance. 
A VPN instance takes effect only after you configure an RD for it. 
Related command: route-distinguisher
Examples 
# Create a VPN instance named vpn1. 
<Sysname> system-view 
[Sysname] ip vpn-instance vpn1 
[Sysname-vpn-instance-vpn1] 
ipv4-family vpn-instance 
Syntax 
ipv4-family vpn-instance vpn-instance-name