318
<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.abc.com/welcome
# Configure the URL parameter
usermac
for the portal Web server
wbs
. Configure the value of the
usermac
parameter as
source-mac
(the MAC addresses of users) and specify DES to encrypt the
MAC addresses.
<Sysname> system-view
[Sysname] portal web-server wbs
[Sysname-portal-websvr-wbs] url-parameter usermac source-mac encryption des key simple
12345678
Related commands
display portal web-server
url
user-sync
Use
user-sync
to enable portal user synchronization for a portal authentication server. After this
feature 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 disable portal user synchronization for a portal authentication server.
Syntax
user-sync timeout
timeout
undo user-sync
Default
Portal user synchronization is disabled for a 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 feature. Now, only the IMC portal authentication server supports portal user heartbeat. To
implement portal user synchronization, you need to configure the user heartbeat feature on the
portal authentication server. Make sure the user heartbeat interval configured on the portal
authentication server is not greater than the synchronization detection timeout configured on the
access device.
Deleting a portal authentication server on the device also deletes the user synchronization
configuration for the server.
If you execute this command multiple times, the most recent configuration takes effect.