Download Print this page

HP FlexNetwork MSR Series Command Reference Manual page 335

Comware 7 security
Hide thumbs Also See for FlexNetwork MSR Series:

Advertisement

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.
ssid: Specifies the SSID of the AP.
ap-mac: Specifies the MAC address of the AP.
source-mac: Specifies the user MAC address.
encryption: Specifies the encryption algorithm to encrypt the MAC address of the AP or 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
1111-1111-1111 the URL http://www.test.com/portal?usermac=xxxxxxxxx&userip=1.1.1.1&userurl=
http://www.test.com/welcome, where xxxxxxxxx represents the encrypted user MAC address.
Examples
# Configure the URL parameters userip and userurl for the portal Web server wbs. Configure the
value of the userip parameter as source-address (the IP addresses of users) and that of the
userurl parameter as http://www.abc.com/welcome.
the
user
whose
IP
address
317
is
1.1.1.1
the
URL

Advertisement

loading