Download Print this page

If-Match - HP FlexNetwork MSR Series Command Reference Manual

Comware 7 security
Hide thumbs Also See for FlexNetwork MSR Series:

Advertisement

When traffic is detected from the user again, the device re-creates a MAC-trigger entry for the user
and repeats the previous procedure.
In wireless networks where APs are configured to forward client data traffic, APs report traffic
statistics to the AC at a regular interval. The AC can determine whether a user's traffic exceed the
free-traffic threshold only after receiving the traffic statistics report from the associated AP. To set the
interval for APs to report traffic statistics to the AC, use the portal client-traffic-report interval
command.
Examples
# Specify the free-traffic threshold for portal users as 10240 bytes.
<Sysname> system-view
[Sysname] portal mac-trigger-server mts
[Sysname-portal-mac-trigger-server-mts] free-traffic threshold 10240
Related commands
display mac-trigger-server

if-match

Use if-match to configure a match rule for URL redirection.
Use undo if-match to delete a URL redirection match rule.
Syntax
if-match { original-url url-string redirect-url url-string [ url-param-encryption { aes | des } key
{ cipher | simple } string ] | user-agent string redirect-url url-string }
undo if-match { original-url url-string | user-agent user-agent }
Default
No URL redirection match rules exist.
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 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.
255

Advertisement

loading