< Home

url-parameter set

Function

The url-parameter set command sets redirection parameter values.

The undo url-parameter set command restores the default setting.

By default, the device automatically obtains redirection parameter values.

Format

url-parameter set device-ip ip-address

undo url-parameter set device-ip

Parameters

Parameter

Description

Value

device-ip ip-address

Sets the value of the redirection parameter device-ip.

The value is in dotted decimal notation.

Views

URL template view

Default Level

2: Configuration level

Usage Guidelines

Assume that a URL template is created using the url-template name command, and a URL is configured in the URL template using the url command. In the wireless access scenario, the default value of device-ip is the CAPWAP gateway address when STAs communicate with the Portal server. In the wired access scenario, the value of device-ip cannot be automatically obtained. In the wireless access scenario where communication using the default value fails or in the wired access scenario, run the url-parameter set device-ip ip-address command to set the redirection parameter (to the WAN interface address typically). When user terminals use the URL to access the Portal server, the Portal server then can obtain user terminal information according to parameters in the URL.

Example

# Set the value of the redirection parameter device-ip to 10.1.1.1.

<HUAWEI> system-view
[HUAWEI] url-template name huawei
[HUAWEI-url-template-huawei] url-parameter set device-ip 10.1.1.1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >