The vpn-instance command configures a VPN instance for an address pool.
The undo vpn-instance command deletes the configuration.
By default, no VPN instance is configured for an address pool.
Parameter | Description | Value |
---|---|---|
vpn-instance-name |
Specifies the name of the VPN instance to which a specified address pool belongs. |
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. |
Usage Scenario
VPNs are specifically constructed for interconnections within an office or between offices. To configure a VPN instance for an IP address pool, run the vpn-instance command.
Prerequisites
A VPN instance has been created using the ip vpn-instance command.
Precautions
A DHCP client can go online through the DHCP server only when the VPN instance bound to the DHCP server address pool is the same as that bound to the DHCP relay server group.
<HUAWEI> system-view [~HUAWEI] ip vpn-instance vpn1 [*HUAWEI-vpn-instance-vpn1] ipv4-family [*HUAWEI-vpn-instance-vpn1-af-ipv4] quit [*HUAWEI-vpn-instance-vpn1] quit [*HUAWEI] ip pool huawei server [*HUAWEI-ip-pool-huawei] commit [~HUAWEI-ip-pool-huawei] vpn-instance vpn1