21-19
Cisco Security Appliance Command Line Configuration Guide
OL-12172-03
Chapter 21 Using Modular Policy Framework
Modular Policy Framework Examples
hostname(config)#
service-policy inbound_policy interface outside
The following commands disable the default global policy, and enables a new one called
new_global_policy on all other security appliance interfaces:
hostname(config)#
no service-policy global_policy global
hostname(config)#
service-policy new_global_policy global
Modular Policy Framework Examples
This section includes several Modular Policy Framework examples, and includes the following topics:
•
Applying Inspection and QoS Policing to HTTP Traffic, page 21-19
•
Applying Inspection to HTTP Traffic Globally, page 21-20
•
Applying Inspection and Connection Limits to HTTP Traffic to Specific Servers, page 21-21
•
Applying Inspection to HTTP Traffic with NAT, page 21-22
Applying Inspection and QoS Policing to HTTP Traffic
In this example (see
Figure 21-1
), any HTTP connection (TCP traffic on port 80) that enters or exits the
security appliance through the outside interface is classified for HTTP inspection. Any HTTP traffic that
exits the outside interface is classified for policing.
Figure 21-1
HTTP Inspection and QoS Policing
See the following commands for this example:
hostname(config)#
class-map http_traffic
hostname(config-cmap)#
match port tcp eq 80
hostname(config)#
policy-map http_traffic_policy
hostname(config-pmap)#
class http_traffic
hostname(config-pmap-c)#
inspect http
hostname(config-pmap-c)#
police output 250000
hostname(config)#
service-policy http_traffic_policy interface outside
143356
inside
port 80
outside
A
Host A
Host B
port 80
Security
appliance
insp.
insp.
police
Содержание 500 Series
Страница 38: ...Contents xxxviii Cisco Security Appliance Command Line Configuration Guide OL 12172 03 ...
Страница 45: ...P A R T 1 Getting Started and General Information ...
Страница 46: ......
Страница 277: ...P A R T 2 Configuring the Firewall ...
Страница 278: ......
Страница 354: ...17 38 Cisco Security Appliance Command Line Configuration Guide OL 12172 03 Chapter 17 Configuring NAT NAT Examples ...
Страница 561: ...P A R T 3 Configuring VPN ...
Страница 562: ......
Страница 891: ...P A R T 4 System Administration ...
Страница 892: ......
Страница 975: ...P A R T 5 Reference ...
Страница 976: ......