< Home

url (Portal server template view)

Function

The url command configures a URL for a Portal server.

The undo url command restores the default configuration.

By default, no URL is configured for a Portal server.

Format

url url-string

undo url

Parameters

Parameter Description Value

url-string

Specifies a URL for a portal server.

The value is a string of 1 to 247 characters.

Views

Portal server template view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the IP address of a Portal server is configured using the server-ip command (in the Portal server template view), the Portal server URL (http://server-ip) is generated by default on the device. If the actual URL of the Portal server is inconsistent with the default one or the domain name of the Portal server needs to be used for network access, you can run the url command to modify the URL of the Portal server on the device.

Precautions

  • A Portal server has only one URL.

Example

# Set the URL of a Portal server to http://www.***.com in the Portal server template huawei.

<HUAWEI> system-view
[HUAWEI] web-auth-server huawei
[HUAWEI-web-auth-server-huawei] url http://www.***.com
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >