The v-gateway interface command changes the interface of the virtual gateway or changes the virtual gateway address from an IP address to an interface.
The undo v-gateway interface command deletes the specified interface of virtual gateway.
v-gateway v-gateway-name interface interface-type interface-number [ interface-type interface-number ] [ port port-number ]
undo v-gateway v-gateway-name interface interface-type interface-number
| Parameter | Description | Value |
|---|---|---|
| v-gateway-name | Indicates the name of the virtual gateway. | The value must be the name of an existing virtual gateway. |
| interface-type interface-number | Indicates the interface type and number. | - |
| 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. |
If you run the v-gateway v-gateway-name interface interface-type interface-number1 interface-type interface-number2 [ port port-number ] command, the interface of the virtual gateway is changed from interface-number1 to interface-number2.
If the IP address in not specified, the loopback address will be used as the IP address of the virtual gateway.