Cisco 7604 Configuration Manual page 479

Catalyst 6500 series switch and cisco 7600 series router firewall services module configuration guide using the cli
Hide thumbs Also See for 7604:
Table of Contents

Advertisement

Chapter 22
Applying Application Layer Protocol Inspection
hostname(config-pmap)#
Where the policy_map_name is the name of the policy map. The CLI enters policy-map configuration
mode.
Step 5
(Optional) To add a description to the policy map, enter the following command:
hostname(config-pmap)# description string
To apply actions to matching traffic, perform the following steps.
Step 6
Specify the traffic on which you want to perform actions using one of the following methods:
a.
Specify the action you want to perform on the matching traffic by entering the following command:
b.
hostname(config-pmap-c)# {[drop-connection [send-protocol-error]| reset] [log]}
Not all options are available for each match or class command. See the CLI help or the Catalyst
6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Command Reference for
the exact options available.
The drop-connection keyword drops the packet and closes the connection.
The reset keyword drops the packet, closes the connection, and sends a TCP reset to the server
and/or client.
The log keyword, which you can use alone or with one of the other keywords, sends a system log
message.
You can specify multiple class or match commands in the policy map. For information about the order
of class and match commands, see the
page
20-7.
Step 7
To configure parameters that affect the inspection engine, perform the following steps:
To enter parameters configuration mode, enter the following command:
a.
hostname(config-pmap)# parameters
hostname(config-pmap-p)#
To check for HTTP protocol violations, enter the following command:
b.
hostname(config-pmap-p)# protocol-violation [action [drop-connection | reset | log]]
Where the drop-connection action closes the connection. The reset action closes the connection
and sends a TCP reset to the client. The log action sends a system log message when this policy map
matches traffic.
To enforce banner obfuscation, enter the following command:
c.
hostname(config-pmap-p)# mask-banner
The mask-banner command is the default when policy-map type inspect is configured, however
no mask-banner can be entered to change the default.
To substitute a string for the server header field, enter the following command:
d.
hostname(config-pmap-p)# spoof-server string
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide using ASDM
OL-20748-01
Specify the HTTP class map that you created in
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 in
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.
Step 3
by entering the following command:
"Defining Actions in an Inspection Policy Map" section on
HTTP Inspection
Step
3.
22-63

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

7609-s76137606-sCatalyst 6500 series7600 series

Table of Contents