H3C S6812 Series Command Reference Manual page 1884

Hide thumbs Also See for S6812 Series:
Table of Contents

Advertisement

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.
nas-id: Specifies the NAS-ID.
nas-port-id: Specifies the NAS-Port-ID.
original-url: Specifies the URL of the original webpage that a portal user visits.
source-address: Specifies the user IP address.
source-mac: Specifies the user MAC address.
encryption: Specifies the encryption algorithm to encrypt the MAC address of the user.
aes: Specifies the AES algorithm.
des: Specifies the DES algorithm.
key: Specifies a key for encryption.
cipher: Specifies a key in encrypted form.
simple: Specifies a key in plaintext form. For security purposes, the key specified in plaintext form
will be stored in encrypted form.
string: Specifies the case-sensitive key string. The string length varies by the selected encryption
method:
If des cipher is specified, the string length is 41 characters.
If des simple is specified, the string length is 8 characters.
If aes cipher is specified, the string length is 1 to 73 characters.
If aes simple is specified, the string length is 1 to 31 characters.
value expression: Specifies a custom case-sensitive string of 1 to 256 characters.
Usage guidelines
You can configure multiple URL parameters.
If you execute this command multiple times to configure the same URL parameter, 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 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.abc.com/welcome commands. Then, the access device
sends
to
http://www.test.com/portal?userip=1.1.1.1&userurl=http://www.abc.com/welcome.
When you configure the param-name argument in this command, you must use the URL parameter
name supported by the actual portal server. Different portal server types support different URL
parameter names.
For example, the IMC server supports parameter names userurl, userip, and usermac for the
keywords original-url, source-address, and source-mac, respectively. To carry the user IP
information in the portal Web server URL, you must configure the parameter name as userip and
specify the source-address keyword.
If you specify the encryption algorithm for a parameter, the redirection URL carries the encrypted
value for the parameter. Execute the url-parameter usermac source-mac encryption des key
simple 12345678 command. Then the access device sends to the user with MAC address
the
user
whose
IP
address
70
is
1.1.1.1
the
URL

Advertisement

Table of Contents
loading

This manual is also suitable for:

S6813 seriesS5150-ei

Table of Contents