The v-gateway ip address command sets the IP address of a virtual gateway.
The v-gateway ip address global-ip command sets the IP address of a virtual gateway and its public IP address for NAT.
The undo v-gateway ip address command deletes the IP address of the virtual gateway.
v-gateway v-gateway-name ip address ip
v-gateway v-gateway-name ip address old-ip-address new-ip-address [ port port-number ]
v-gateway v-gateway-name ip address ip global-ip ip2
undo v-gateway v-gateway-name ip address ip [ global-ip ]
| Parameter | Description | Value |
|---|---|---|
| v-gateway-name | Specifies the virtual gateway name. | The value is a string of 1 to 15 case-insensitive characters. |
| ip | Specifies the IP address of the virtual gateway. | The value is in dotted decimal notation. |
| old-ip-address | Indicates the old IP address of the virtual gateway. | The value is in dotted decimal notation. |
| new-ip-address | Indicates the new IP address of the virtual gateway. | The value is in dotted decimal notation. |
| port port-number | Specifies the port of the virtual gateway. | The value is an integer ranging from 1024 to 50000. The default port is 443. |
| global-ip ip2 | Specifies the global IP address corresponding to the IP address of the virtual gateway after NAT. | The value is in dotted decimal notation. |
You can run the v-gateway ip address command to set the IP address of the virtual gateway or its corresponding global IP address after NAT.
One virtual gateway has a maximum of three IP addresses.
Changing or deleting the IP address of a virtual gateway will log out all users of the virtual gateway. Exercise caution when performing this operation.