185
Predefined user roles
network-admin
Parameters
url-string: Specifies a URL for the portal Web server, a case-sensitive string of 1 to 256 characters.
Usage guidelines
This command specifies a URL that can be accessed through standard HTTP or HTTPS. The URL should
start with http:// or https://. If the URL you specify does not start with http:// or https://, the system
considers the URL begins with http:// by default.
Examples
# Configure the URL for portal Web server wbs as http://www.test.com/portal.
<Sysname> system-view
[Sysname] portal web-server wbs
[Sysname-portal-websvr-wbs] url http://www.test.com/portal
Related commands
display portal web-server
url-parameter
Use url-parameter to configure the parameters carried by the URL of a portal Web server. The access
device redirects a portal user by sending the URL with the parameters to the user.
Use undo url-parameter to delete the parameters carried by the URL of the portal Web server.
Syntax
url-parameter param-name { original-url | source-address | source-mac | value expression }
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.