Web-Redirect - HP A-U200 Command Reference Manual

Unified threat management products
Table of Contents

Advertisement

View
User view
Default level
1: Monitor level
Parameters
None
Description
Use the reset portal tcp-cheat statistics command to clear TCP spoofing statistics.
Examples
# Clear TCP spoofing statistics.
<Sysname> reset portal tcp-cheat statistics

web-redirect

Syntax
web-redirect url url-string [ interval interval ]
undo web-redirect
View
Interface view
Default level
2: System level
Parameters
url-string: URL address to which a Web access request is to be redirected.
Interval: Redirection interval in seconds, in the range of 60 to 86400. The default is 86400.
Description
Use the web-redirect command to configure the mandatory Web page pushing function on an interface.
After you configure this function on an interface and set the redirection interval, a user on the interface
will be forced to access a specific Web page when the user accesses network resources through Web for
the first time. After a specific period of time, namely, the redirection interval, if the user sends a Web
access request again, the system will push the specified Web page to the user again.
Use the undo web-redirect command to restore the default.
By default, this function is not configured on an interface.
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.
If you execute this command repeatedly, the last configuration takes effect.
Examples
# Configure the mandatory Web page pushing function on GigabitEthernet 0/0, setting the redirection
URL address to http://192.0.0.1 and the interval to 3600 seconds.
<Sysname> system-view
[Sysname] interface gigabitethernet0/0
51

Advertisement

Table of Contents
loading

Table of Contents