portal local-server anonymous
Function
The portal local-server anonymous command enables the anonymous login function for users authenticated through the built-in Portal server.
The undo portal local-server anonymous command disables the anonymous login function for users authenticated through the built-in Portal server.
By default, the anonymous login function is disabled for users authenticated through the built-in Portal server.
Format
portal local-server anonymous [ redirect-url url ]
undo portal local-server anonymous [ redirect-url ]
Parameters
Parameter |
Description |
Value |
---|---|---|
redirect-url url |
Specifies the redirection URL. The URL is generally used to push advertisement information. |
The value is a string of 1 to 200 case-sensitive characters without spaces and question marks (?). If the string is enclosed in double quotation marks (" "), the string can contain spaces. |
Usage Guidelines
Usage Scenario
In places such as airports, hotels, cafes, and public recreation places, the anonymous login function allows users to access the network without entering the user name and password, facilitating network service provisioning.
After the anonymous login function is enabled, users are redirected to the login page the first time they access a web page. To connect to the network, users only need to accept terms in the license agreement and click Login.
If the redirect-url url parameter is specified, the web page corresponding to the specified URL will be automatically displayed when anonymous login users access web pages for the first time. This function can be used for advertisement push and users are unaware of the anonymous login process, improving user experience.
Precautions
When anonymous login is configured, it is recommended that you set AAA authentication mode to none authentication.