186
If you configure a URL parameter multiple times, the most recent configuration takes effect.
After you configure the URL parameters, the access device sends the portal Web server URL with these
parameters to a portal users. For example, assume that the URL of a portal Web server is
http://www.test.com/portal, and you execute the url-parameter userip source-address and
url-parameter userurl value http://www.test.com/welcome commands. Then, the access device sends
to the user whose IP address is 1.1.1.1 the URL http://www.test.com/portal?userip=1.1.1.1&userurl=
http://www.test.com/welcome.
Examples
# Configure URL parameters userip and userurl for portal Web server wbs. Configure userip as
source-address and userurl as value http://www.test.com/welcome.
<Sysname> system-view
[Sysname] portal web-server wbs
[Sysname-portal-websvr-wbs] url-parameter userip source-address
[Sysname-portal-websvr-wbs] url-parameter userurl value http://www.test.com/welcome
Related commands
• display portal web-server
• url
user-sync
Use user-sync to enable portal user synchronization for a portal authentication server. After this function
is enabled, the device replies to and periodically detects the synchronization packets from the portal
authentication server. In this way, information about online portal users on the device and on the portal
authentication server remains consistent.
Use undo user-sync to restore the default.
Syntax
user-sync timeout timeout
undo user-sync
Default
Portal user synchronization is disabled for the portal authentication server.
Views
Portal authentication server view
Predefined user roles
network-admin
Parameters
timeout timeout: Sets a detection timeout for synchronization packets, in the range of 60 to 18000
seconds. The default is 1200 seconds.
Usage guidelines
Portal user synchronization requires that the portal authentication server support the portal user heartbeat
function. Now, only the IMC portal authentication server supports portal user heartbeat. To implement
portal user synchronization, you need to configure the user heartbeat function on the portal