< Home

portal-url

Function

The portal-url command sets the user-defined portal server address.

The undo portal-url command cancels the setting of the user-defined portal server address.

Format

portal-url url-address

undo portal-url

Parameters

Parameter Description Value
url-address Specifies the portal server address of the redirected user-defined web page when users access HTTP services (through port 80). The value is a case-insensitive string of 8 to 449 characters. You must configure a URL starting with http:// or https://, for example, https://1.1.1.1:8887.

Views

Portal authentication template view

Default Level

2: Configuration level

Usage Guidelines

By default, the portal server address is the address of the interface that receives HTTP/HTTPS requests from users (https://Interface IP Address:8887).

If a user-defined portal server is used, you need to configure a portal authentication template and specify an address for the server. The address can be that of a third-party portal server or local portal server.

A portal server that provides the authentication page must be deployed and accessible to users, and the portal server must be capable of functioning with the FW to authenticate users.

Example

# Obtain the redirected user-defined web page from the portal server at https://1.1.1.1:8080/portal.

<sysname> system-view
[sysname] user-manage portal-template test
[sysname-portal-template-test] portal-url https://1.1.1.1:8080/portal
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >