< Home

portal-url push information

Function

The portal-url push information command enables the function of pushing information to the Portal server.

The undo portal-url push information command disables the function of pushing information to the Portal server.

Format

portal-url push information

undo portal-url push information

Parameters

None

Views

Portal authentication template view

Default Level

2: Configuration level

Usage Guidelines

By default, the function is enabled.

If the Portal server needs to interwork with the FW to exchange data, the function needs to be enabled.

After the function of pushing information to the Portal server is enabled, the FW automatically adds the default parameters in the URL of the Portal server before pushing the URL to the Portal server for Portal authentication.

The Portal server extracts information from the URL.

For example, the Portal server URL is https://example1.com. When the FW adds the default parameters, the Portal server URL is changed to https://example.com?fwname=TH-FW1&fwip=0.0.0.0&pagetype=login&esn=21023595120123456789&url=http://www.example0.com/&userip=1.1.1.1. The FW pushes the modified URL to the Portal server.

The default parameter in the URL is described as follows (the value of each parameter is automatically filled in by the FW):
  • fwname: indicates the name of the FW that a user accesses.
  • fwip: IP address of the FW for receiving messages from the portal server. The FW is identified by the IP address.
  • pagetype: indicates the Portal page type.
  • esn: indicates the ESN of the FW.
  • url: indicates the accessed URL before user authentication.
  • userip: indicates the user IP address.

If the Portal server cannot interwork with the FW when the FW adds default parameters in the Portal server URL, run the portal-url parameter command to set parameters in the Portal server URL.

If the Portal server does not need to exchange data with the FW, run the undo portal-url push information command to disable the function.

Example

# Disable the function of pushing information to the Portal server.

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