HP MSR2000/3000/4000 Router Series Security Command Reference
450
undo url-parameter param-name
Default
URL parameters for the portal Web server are not configured.
Views
Portal Web server view
Predefined user roles
network-admin
Parameters
param-name: Specifies a URL parameter name, a case-sensitive string of 1 to 32 characters. Content of
the parameter is determined by the following keyword you specify.
original-url: Specifies the URL of the original web page that a portal user visits.
source-address: Specifies the user IP address.
source-mac: Specifies the user MAC address.
value expression: Specifies a custom case-sensitive string of 1 to 256 characters.
Usage guidelines
You can configure multiple URL parameters.
If you configure a URL parameter multiple times, the most recent configuration takes effect.
This command configures the URL parameters for a portal Web server. Common parameters are user IP
address, user MAC address, original URL of the webpage the user visits. You can also customize a string
of characters. After the configuration, the access device sends the portal Web server URL with these
parameters to a portal user to redirect the user to the authentication page. 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.