Download Print this page

Cisco ASA 5506-X Configuration Manual page 199

Cli
Hide thumbs Also See for ASA 5506-X:

Advertisement

Chapter 8
Inspection for Voice and Video Protocols
If you want to perform different actions for each match command, you should identify the traffic directly
in the policy map.
a.
Create the class map by entering the following command:
hostname(config)# class-map type inspect h323 [match-all | match-any] class_map_name
hostname(config-cmap)#
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.
(Optional) To add a description to the class map, enter the following command:
b.
hostname(config-cmap)# description string
Where string is the description of the class map (up to 200 characters).
Specify the traffic on which you want to perform actions using one of the following match
c.
commands. If you use a match not command, then any traffic that does not match the criterion in
the match not command has the action applied.
Create an H.323 inspection policy map:
Step 2
hostname(config)# policy-map type inspect h323 policy_map_name
hostname(config-pmap)#
Where the policy_map_name is the name of the policy map. The CLI enters policy-map configuration
mode.
(Optional) To add a description to the policy map, enter the following command:
Step 3
hostname(config-pmap)# description string
To apply actions to matching traffic, perform the following steps.
Step 4
You can specify multiple class or match commands in the policy map. For information about the order
of class and match commands, see
Specify the traffic on which you want to perform actions using one of the following methods:
a.
b.
Specify the action you want to perform on the matching traffic by entering the following command:
hostname(config-pmap-c)# {drop [log] | drop-connection | reset}
The drop keyword drops the packet. For media type matches, you can include the log keyword to
send a system log message.
match [not] called-party regex {regex_name | class class_name}—Matches the called party
against the specified regular expression or regular expression class.
match [not] calling-party regex {regex_name | class class_name}—Matches the calling party
against the specified regular expression or regular expression class.
match [not] media-type {audio | data | video}—Matches the media type.
If you created an H.323 class map, specify it by entering the following command:
hostname(config-pmap)# class class_map_name
hostname(config-pmap-c)#
Specify traffic directly in the policy map using one of the match commands described for H.323
class maps. If you use a match not command, then any traffic that does not match the criterion
in the match not command has the action applied.
Defining Actions in an Inspection Policy Map, page
Cisco ASA Series Firewall CLI Configuration Guide
H.323 Inspection
2-4.
8-7

Hide quick links:

Advertisement

loading