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 #327 background imageLoading...
Page #327 background image
304
Predefined user roles
network-admin
Parameters
original-url url-string: Specifies a URL string to match the URL in HTTP or HTTPS requests of a
portal user. The specified URL must be a complete URL starting with http:// or https://, a
case-sensitive string of 1 to 256 characters.
redirect-url url-string: Specifies the URL to which the user is redirected. The specified URL must be
a complete URL starting with http:// or https://, a case-sensitive string of 1 to 256 characters.
url-param-encryption: Specifies an encryption algorithm to encrypt the parameters carried in the
redirection URL. If you do not specify an encryption algorithm, the parameters carried in the
redirection URL are not encrypted.
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.
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.
Usage guidelines
A URL redirection match rule matches HTTP or HTTPS requests by user-requested URL or
User-Agent information, and redirects the matching HTTP or HTTPS requests to the specified
redirection URL.
For a user to successfully access a redirection URL, configure a portal-free rule to allow HTTP or
HTTPS requests destined for the redirection URL to pass. For information about configuring
portal-free rules, see the portal free-rule command.
For a portal Web server, you can configure the url command and the if-match command for URL
redirection. The url command redirects all HTTP or HTTPS requests from unauthenticated users to
the portal Web server for authentication. The if-match command allows for flexible URL redirection
by redirecting specific HTTP or HTTPS requests to specific redirection URLs. If both commands are
executed, the if-match command takes priority to perform URL redirection.
If you configure encryption for parameters in the redirection URL, you must add an encryption
prompt field after the redirection URL address. For example, to redirect HTTP requests to URL
10.1.1.1 with encrypted URL parameters, specify the redirection URL as http://10.1.1.1?yyyy=. The
value of yyyy depends on the portal Web server configuration. For more information, see the portal
Web server configuration guide.
Examples
# Configure a match rule to redirect HTTP requests destined for the URL http://www.abc.com.cn to
the URL http://192.168.0.1.

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