Cisco ASA Series Cli Configuration Manual page 1123

Software version 9.0 for the services module
Hide thumbs Also See for ASA Series:
Table of Contents

Advertisement

Chapter 1
Configuring Inspection of Basic Internet Protocols
Where class_map_name is the name of the class map. The match-all keyword is the default, and
specifies that traffic must match all criteria to match the class map. The match-any keyword
specifies that the traffic matches the class map if it matches at least one of the criteria. The CLI
enters class-map configuration mode, where you can enter one or more match commands.
b.
(Optional) To add a description to the class map, enter the following command:
hostname(config-cmap)# description string
c.
(Optional) To match traffic with a content-type field in the HTTP response that does not match the
accept field in the corresponding HTTP request message, enter the following command:
hostname(config-cmap)# match [not] req-resp content-type mismatch
d.
(Optional) To match text found in the HTTP request message arguments, enter the following
command:
hostname(config-cmap)# match [not] request args regex [regex_name | class
regex_class_name]
Where the regex_name is the regular expression you created in
is the regular expression class map you created in
e.
(Optional) To match text found in the HTTP request message body or to match traffic that exceeds
the maximum HTTP request message body length, enter the following command:
hostname(config-cmap)# match [not] request body {regex [regex_name | class
regex_class_name] | length gt max_bytes}
Where the regex regex_name argument is the regular expression you created in
regex_class_name is the regular expression class map you created in
max_bytes is the maximum message body length in bytes.
f.
(Optional) To match text found in the HTTP request message header, or to restrict the count or length
of the header, enter the following command:
hostname(config-cmap)# match [not] request header {[field]
[regex [regex_name | class regex_class_name]] |
[length gt max_length_bytes | count gt max_count_bytes]}
Where the field is the predefined message header keyword. The regex regex_name argument is the
regular expression you created in
map you created in
The count gt max_count is the maximum number of header fields.
g.
(Optional) To match text found in the HTTP request message method, enter the following command:
hostname(config-cmap)# match [not] request method {[method] |
[regex [regex_name | class regex_class_name]]
Where the method is the predefined message method keyword. The regex regex_name argument is
the regular expression you created in
class map you created in
h.
(Optional) To match text found in the HTTP request message URI, enter the following command:
hostname(config-cmap)# match [not] request uri {regex [regex_name | class
regex_class_name] | length gt max_bytes}
Where the regex regex_name argument is the regular expression you created in
regex_class_name is the regular expression class map you created in
max_bytes is the maximum message body length in bytes.
Step
1. The class regex_class_name is the regular expression class
Step
2. The length gt max_bytes is the maximum message body length in bytes.
Step
1. The class regex_class_name is the regular expression
Step
2.
Step
1. The class regex_class_name
Step
2.
Step
2. The length gt
Step
2. The length gt
Cisco ASA Series CLI Configuration Guide
HTTP Inspection
Step
1. The class
Step
1. The class
1-17

Advertisement

Table of Contents
loading

Table of Contents