Download Print this page

Cisco ASA 5506-X Configuration Manual page 166

Cli
Hide thumbs Also See for ASA 5506-X:

Advertisement

HTTP Inspection
In the default global policy, the inspection_default class map is a special class map that includes default
ports for all inspection types (match default-inspection-traffic). If you are using this class map in
either the default policy or for a new service policy, you can skip this step.
For information on matching statements, see
Add or edit a policy map that sets the actions to take with the class map traffic.
Step 2
policy-map name
Example:
hostname(config)# policy-map global_policy
In the default configuration, the global_policy policy map is assigned globally to all interfaces. If you
want to edit the global_policy, enter global_policy as the policy name.
Identify the L3/L4 class map you are using for HTTP inspection.
Step 3
class name
Example:
hostname(config-pmap)# class inspection_default
To edit the default policy, or to use the special inspection_default class map in a new policy, specify
inspection_default for the name. Otherwise, you are specifying the class you created earlier in this
procedure.
Configure HTTP inspection.
Step 4
inspect http [http_policy_map]
Where http_policy_map is the optional HTTP inspection policy map. You need a map only if you want
non-default inspection processing. For information on creating the HTTP inspection policy map, see
Configure an HTTP Inspection Policy Map, page
Example:
hostname(config-class)# no inspect http
hostname(config-class)# inspect http http-map
Note
If you are editing an existing service policy (such as the default global policy called global_policy), you
Step 5
are done. Otherwise, activate the policy map on one or more interfaces.
service-policy policymap_name {global | interface interface_name}
Example:
hostname(config)# service-policy global_policy global
The global keyword applies the policy map to all interfaces, and interface applies the policy to one
interface. Only one global policy is allowed. You can override the global policy on an interface by
applying a service policy to that interface. You can only apply one policy map to each interface.
Cisco ASA Series Firewall CLI Configuration Guide
7-20
If you are editing the default global policy (or any in-use policy) to use a different HTTP
inspection policy map, you must remove the HTTP inspection with the no inspect http
command, and then re-add it with the new HTTP inspection policy map name.
Chapter 7
Identify Traffic (Layer 3/4 Class Maps), page
7-16.
Inspection of Basic Internet Protocols
1-13.

Hide quick links:

Advertisement

loading