3com MSR 20-20 참조 매뉴얼

다운로드
페이지 2742
1871
if-match protocol http
Syntax
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 ]
View
Class view
Parameters
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.
Description
Use the if-match protocol http command to configure HTTP matching rules.
Use the undo if-match protocol http command to delete the rules.
By default, no matching rule is configured.
Examples
# Define the class http-class, and configure the matching rule to be the HTTP 
packet with the host name *.abc.com.
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 [