< Home

v-gateway public-domain

Function

The v-gateway public-domain command configures the public domain name shared by virtual gateways.

The undo v-gateway public-domain command deletes the public domain name shared by virtual gateways.

Format

v-gateway public-domain public-domain

undo v-gateway public-domain

Parameters

Parameter Description Value
public-domain public-domain Public domain name shared by virtual gateways The value is a string of 1 to 127 characters. The domain name format must meet the requirements, for example, www.example.com.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

This command is configured only when sharing mode virtual gateways of multiple virtual systems share a public IP address. This command can be configured only by the administrator of the root system.

When sharing mode virtual gateways that share a public IP address are configured in the system, public-domain can be modified but cannot be deleted. Therefore, the undo v-gateway public-domain command is successfully executed only when no sharing mode virtual gateway that shares a public IP address exists in the system.

After the public domain name is modified using this command, the domain name of the sharing mode virtual gateway that shares a public IP address is automatically adjusted. Assume that the original public domain name is www.example.com, and the domain name of sharing mode virtual gateway A that shares a public IP address is www.example.com/company1. After the public domain name is changed to www.tel.com, the domain name of virtual gateway A is automatically changed to www.tel.com/company1.

Example

# Set the public domain name shared by virtual gateways to www.example.com.

<sysname> system-view
[sysname] v-gateway public-domain www.example.com
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >