url (Portal server template view)

Function

The url command configures the URL for a Portal server.

The undo url command restores the default setting.

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

Format

url url-string

undo url

Parameters

Parameter Description Value
url-string

Specifies the URL of a portal server. Portal authentication users can visit this URL to access the Portal server. Compared with an IP address, the URL is easy to remember.

The value is a string of 1 to 200 characters.

Views

Portal server template view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the Portal server IP address is configured using the server-ip (Portal server template view) command, you can run the url command to configure a URL for the Portal server, and the URL is easy to remember. Portal authentication users can visit this URL to access the Portal server.

Precautions

  • A Portal server only has one URL.

  • If the Portal server has been bound to the VLANIF interface, run the undo web-auth-server command to unbind the Portal server from the VLANIF interface before changing the Portal server URL.

Example

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

<HUAWEI> system-view
[HUAWEI] web-auth-server huawei
[HUAWEI-web-auth-server-huawei] url http://www.abc.com
Related Topics
display web-auth-server configuration
web-auth-server (system view)
server-ip (Portal server template view)

Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.