EasyManuals Logo

H3C MSR Series Command Reference

H3C MSR Series
1187 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #328 background imageLoading...
Page #328 background image
305
<Sysname> system-view
[Sysname] portal web-server wbs
[Sysname-portal-websvr-wbs] if-match original-url http://www.abc.com.cn redirect-url
http://192.168.0.1
# Configure a match rule to redirect HTTP requests that carry the user agent string
5.0(WindowsNT6.1)AppleWebKit/537.36(KHTML,likeGecko)Chrome/36.0.1985.125Safari/537.
36 to the URL http://192.168.0.1.
<Sysname> system-view
[Sysname] portal web-server wbs
[Sysname-portal-websvr-wbs] if-match user-agent
5.0(WindowsNT6.1)AppleWebKit/537.36(KHTML,likeGecko)Chrome/36.0.1985.125Safari/537.36
redirect-url http://192.168.0.1
Related commands
display portal web-server
portal free-rule
url
url-parameter
if-match temp-pass
Use if-match temp-pass to configure a match rule for temporary pass.
Use undo if-match temp-pass to restore the default.
Syntax
if-match { original-url url-string | user-agent user-agent } * temp-pass [ redirect-url url-string |
original ]
undo if-match { original-url url-string | user-agent user-agent } * temp-pass
Default
No match rules for temporary pass are configured.
Views
Portal Web server view
Predefined user roles
network-admin
Parameters
original-url url-string: Specifies a URL string to match the URL in HTTP/HTTPS requests of portal
users. The specified URL must be a complete URL starting with http:// or https://, a case-sensitive
string of 1 to 256 characters.
user-agent user-agent: Specifies a user agent string to match the User-Agent string in
HTTP/HTTPS requests. The user agent string is a case-sensitive string of 1 to 255 characters. The
User-Agent string in HTTP or HTTPS requests includes information about hardware manufacturer,
operating system, browser, and search engine.
redirect-url url-string: Redirects the matching Web requests to the specified URL. The specified
URL must be a complete URL starting with http:// or https://, a case-sensitive string of 1 to 256
characters.
original: Redirects the matching Web requests to the originally requested URLs.

Table of Contents

Other manuals for H3C MSR Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C MSR Series and is the answer not in the manual?

H3C MSR Series Specifications

General IconGeneral
CategoryNetwork Router
IPv6 SupportYes
DimensionsVaries by model
WeightVaries by model
Product TypeModular Router
PortsVaries by model
WAN InterfacesVaries by model
FirewallYes
QoSYes
Wireless SupportVaries by model
USB PortsVaries by model
Console PortYes
Power SupplyVaries by model
RedundancyVaries by model
Operating Temperature0°C to 45°C
Storage Temperature-40°C to 70°C
Humidity5% to 95% non-condensing
SeriesMSR
CertificationsCE, FCC, RoHS

Related product manuals