
18-6
Cisco Security Appliance Command Line Configuration Guide
OL-6721-01
Chapter 18 Using Modular Policy Framework
Defining Actions Using a Policy Map
For more information about configuring inspection actions for Modular Policy Framework, see
Chapter 21, “Applying Application Layer Protocol Inspection.”
For more information about configuring IPS actions for Modular Policy Framework, see Chapter 19,
“Intercepting and Responding to Network Attacks.”
For more information about configuring QoS actions for Modular Policy Framework, see Chapter 20,
“Applying QoS Policies.”
Step 5 To return to policy map configuration mode, enter the following command:
hostname(config-pmap-c)# exit
hostname(config-pmap)#
Step 6 To return to global configuration mode, enter the following command:
hostname(config-pmap)# exit
hostname(config)#
Policy Map Examples
The following is an example of the policy-map command; note the change in the prompt:
hostname(config)# policy-map localpolicy1
hostname(config-pmap)#
The following is an example of a policy-map command for connection policy. It limits the number of
connections allowed to the web server 10.1.1.1:
hostname(config)# access-list http-server permit tcp any host 10.1.1.1
hostname(config)# class-map http-server
hostname(config-cmap)# match access-list http-server
hostname(config-cmap)# exit
hostname(config)# policy-map global-policy
hostname(config-pmap)# description This policy map defines a policy concerning connection
to http server.
hostname(config-pmap)# class http-server
hostname(config-pmap-c)# set connection conn-max 256
The following is an example of a policy-map command for the outside_policy:
hostname(config)# class-map outside-voip
hostname(config-cmap)# match rtp 2000 100
hostname(config-cmap)# exit
hostname(config)# policy-map outside-policy
hostname(config-pmap)# description This policy map defines policies for the outside
interface.
hostname(config-pmap)# class outside-voip
hostname(config-pmap-c)# priority
hostname(config-pmap-c)# exit
hostname(config-pmap)#
Comentarios a estos manuales