< Home

portal-url parameter

Function

The portal-url parameter command sets parameters carried in the Portal server URL.

The undo portal-url parameter command restores the default settings.

Format

portal-url parameter { receive-interface receive-interface | esn esn | user-ip user-ip | user-mac user-mac | redirect-url redirect-url } *

undo portal-url parameter

Parameters

Parameter Description Value
receive-interface receive-interface Specifies the interface of the FW that users access in the Portal server URL and sets the parameter name indicating the interface.

The value is a string of 1 to 16 case-sensitive characters that can be letters (A to Z and a to z) only.

esn esn Specifies the device ESN in the Portal server URL and sets the parameter name indicating the ESN.

The value is a string of 1 to 16 case-sensitive characters that can be letters (A to Z and a to z) only.

user-ip user-ip Specifies the user IP address in the Portal server URL and sets the parameter name indicating the user IP address.

The value is a string of 1 to 16 case-sensitive characters that can be letters (A to Z and a to z) only.

user-mac user-mac Specifies the user MAC address in the Portal server URL and sets the parameter name indicating the user MAC address.

The value is a string of 1 to 16 case-sensitive characters that can be letters (A to Z and a to z) only.

redirect-url redirect-url Specifies the accessed URL before user authentication in the Portal server URL and sets the parameter name indicating the pre-authentication URL.

The value is a string of 1 to 16 case-sensitive characters that can be letters (A to Z and a to z) only.

Views

Portal authentication template view

Default Level

2: Configuration level

Usage Guidelines

By default, the Portal server URL carries default parameters. For details on the default parameters, see the portal-url push information command.

Before running the portal-url parameter command, run the portal-url push information command to enable the function of pushing information to the Portal server.

If the Portal server can interwork with the FW in case of default parameters in the Portal server URL, you do not need to run the command. Otherwise, run the command to set parameters for the Portal server to interwork with the FW.

If the specified URL of the Portal server carries a user MAC address, run the portal-url parameter mac-address format command to set the format of the MAC address in the Portal server URL.

Example

# Specify the user IP address and user MAC address in the Portal server URL and set testip indicating the user IP address and testmac indicating the user MAC address.

<sysname> system-view
[sysname] user-manage portal-template template1
[sysname-portal-template-template1] portal-url push information
[sysname-portal-template-template1] portal-url parameter user-ip testip user-mac testmac
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >