
21-27
Cisco Security Appliance Command Line Configuration Guide
OL-6721-01
Chapter 21 Applying Application Layer Protocol Inspection
Managing H.323 Inspection
For example, the following command assigns the h323_port traffic class to the current policy map.
hostname(config-pmap)# class h323_port
The CLI enters the policy map class configuration mode and the prompt changes accordingly, as follows:
hostname(config-pmap-c)#
Step 5 To enable H.323 traffic inspection, enter the following commands:
hostname(config-pmap-c)# inspect h323 ras
hostname(config-pmap-c)# inspect h323 h225
Return to policy map configuration mode by entering the following command:
hostname(config-pmap-c)# exit
hostname(config-pmap)#
Step 6 Return to global configuration mode by entering the following command:
hostname(config-pmap)# exit
hostname(config)#
Step 7 Apply the policy map globally or to a specific interface by entering the following command:
hostname(config)# service-policy
policy_map_name
[global | interface
interface_ID
Replace policy_map_name with the policy map you configured in Step 5, and identify all the interfaces
with the global option or a specific interface using the name assigned with the name-if command.
For example, the following command applies the inbound_policy to the outside interface:
hostname(config)# service-policy inbound_policy interface outside
The following command applies the inbound_policy to all the security appliance interfaces:
hostname(config)# service-policy inbound_policy global
Example 21-4 Enabling and Configuring H.323 Inspection
You enable the H.323 inspection engine as shown in the following example, which creates a class map
to match H.323 traffic on the default port (1720). The service policy is then applied to the outside
interface.
hostname(config)# access-list h323_acl permit udp any any eq 1720
hostname(config)# access-list h323_acl permit udp any any eq 1721
hostname(config)# class-map h323-traffic
hostname(config-cmap)# match access-list h323_acl
hostname(config-cmap)# exit
hostname(config)# policy-map inbound_policy
hostname(config-pmap)# class h323_port
hostname(config-pmap-c)# inspect h323 ras
hostname(config-pmap-c)# inspect h323 h225
hostname(config-pmap-c)# exit
hostname(config)# service-policy inbound_policy interface outside
To enable H.323 inspection for all interfaces, enter the global parameter in place of interface outside.
Komentarze do niniejszej Instrukcji