310
user-mac: Includes the user's MAC address or AP's MAC address in the redirection URL. The MAC
address is in the format of XX-XX-XX-XX-XX-XX.
des-encrypt: Encrypts the MAC address with DES. If you do not specify this keyword, the MAC
address carried in the redirection URL is in plaintext form.
param-name param-name: Specifies a name for the MAC address parameter carried in the
redirection URL. The param-name argument is a case-sensitive string of 1 to 20 characters. Valid
characters are digits and letters.
The MAC address parameter and its name carried in the redirection URL are in the format of
param-name=param-value. The param-value is the MAC address of the user or AP. The
param-name is the name specified for the MAC address parameter.
The output of this command varies by the portal server.
To include the MAC address parameter in the redirection URL (system view):
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Include the MAC address
parameter in the redirection
URL.
portal url-param include
user-mac
[
des-encrypt
]
[
param-name
param-name ]
By default, the redirection URL
does not carry a parameter.
To include the MAC address parameter in the redirection URL (interface view):
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter interface view
interface
interface-type
interface-number
N/A
3. Include the MAC address
parameter in the redirection
URL.
portal url-param include
user-mac
[
des-encrypt
]
[
param-name
param-name ]
By default, the redirection URL
does not carry a parameter.
Configuring mandatory Web page pushing
With the mandatory Web page pushing function configured on an interface, a user on the interface
will be forced to access a specific Web page when the user accesses network resources through the
Web for the first time, namely, the Web request will be redirected to a specific URL. Then, the user
can access network resources. After a specific period of time, if the user sends a Web access
request again, the system will push the specified Web page to the user again.
This function can be used, for example, by a hotel or a network carrier to push advertisement pages
to customers periodically.
Like portal, the mandatory Web page pushing function uses the Web request redirection mechanism
to push a Web page to users, but it does not authenticate users and therefore no authentication
related configuration is needed.
You cannot configure both the portal function and the mandatory Web page pushing function on an
interface. If you do so, the function configured later does not take effect.
To configure the mandatory Web page pushing function:
Step Command Remarks
1. Enter system view.
system-view
N/A