If-Match Protocol Http - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

if-match protocol http

Syntax
View
Parameters
Description
Examples
if-match [ not ] protocol http [ url url-string | host hostname-string | mime
mime-type ]
undo if-match [ not ] protocol http [ url url-string | host hostname-string | mime
mime-type ]
Class view
not: Specifies the current rule to not to match the specified matching rule.
url: Matches according to the URL in the HTTP packet.
url-string: URL for matching in the HTTP packet, which supports simple wildcard
character matching, a string of 1 to 32 characters.
host: Matches according to the host name in the HTTP packet.
hostname-string: The host name for matching in the HTTP packet, which supports
simple wildcard matching, a string of 1 to 32 characters.
mime: Matches according to the MIME type in the HTTP packet.
mime-type: The MIME type for matching in the HTTP packet, which supports
simple wildcard character matching, a string of 1 to 32 characters.
See Table 498 for the matching rules of simple wildcard characters.
Table 498 The matching rules of simple wildcard characters
Character
Description
*
Matching zero character or random several characters, including digit,
capital/small letter, hyphen, or underline
#
Matching a character, including digit, capital/small letter, hyphen, or underline.
|
Matching either of the two character strings on the left and right sides
(|)
Matching either of the two character strings on the left and right sides within a
certain range. For example, index.(htm|jsp) matches both index.htm and
index.jsp
[ ]
Matching any one character specified in the square brackets, or a special
character, including *, #, [, (, |, or ). For example, [0-9] indicates all digits, [*]
indicates *, and [[] indicates [
Use the
if-match protocol http
Use the
undo if-match protocol http
By default, no matching rule is configured.
# Define the class http-class, and configure the matching rule to be the HTTP
packet with the host name *.abc.com.
command to configure HTTP matching rules.
command to delete the rules.
1871

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents