< Home

v-gateway ip address

Function

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.

Format

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 ]

Parameters

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.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Set the IP address of virtual gateway abc to 10.1.1.1.

<sysname> system-view
[sysname] v-gateway abc ip address 10.1.1.1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >