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.
Parameter |
Description |
Value |
---|---|---|
device-ip ip-address |
Sets the value of the redirection parameter device-ip. |
The value is in dotted decimal notation. |
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.