Web-Redirect Url - H3C MSR Series Command Reference Manual

Comware 7 security
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

The tracked interface receives 2G signal or no signal.
In the current software version, this feature can track signal information only for Etherchannel
interfaces.
This feature applies only to IPv4 users.
This feature requires that the webpage to which the redirect URL points must be configured on the
device. The redirect URL is specified by the web-redirect url command.
Examples
# Enable Web redirect track on GigabitEthernet 1/0/1 to track network signal information on
Etherchannel 2/0:0.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] web-redirect track interface eth-channel 2/0:0
Related commands
display web-redirect rule

web-redirect url

web-redirect url
Use web-redirect url to enable the Web redirect feature.
Use undo web-redirect url to disable the Web redirect feature.
Syntax
web-redirect [ ipv6 ] url url-string [ interval interval ]
undo web-redirect [ ipv6 ]
Default
The Web redirect feature is disabled.
Views
Interface view
Service template view
Predefined user roles
network-admin
Parameters
ipv6: Specifies the IPv6 Web redirect feature. Do not specify this keyword for the IPv4 Web redirect
feature.
url url-string: Specifies the URL to which the user is redirected. The URL is required to be complete
and begins with http:// or https://, a string of 1 to 256 characters.
interval interval: Specifies the time interval at which the user is redirected to the specified URL. It is
in the range of 60 to 86400 seconds. The default interval is 86400 seconds.
Usage guidelines
This feature redirects a user on an interface or a service template to the specified URL before the
user can access an external network through a Web browser. After the specified interval, the user is
redirected to the specified URL again.
To push different advertisement pages to different users, you can carry parameters in the redirect
URL (by using the url url-string option) as needed. The following parameters are available:
398

Advertisement

Table of Contents
loading

Table of Contents