4-57
Cisco 4700 Series Application Control Engine Appliance Administration Guide
OL-11157-01
Chapter 4 Configuring Class Maps and Policy Maps
Configuring a Layer 7 Policy Map
Associating the Layer 7 Policy Map with a Layer 3 and Layer 4
Policy Map
When you use the
policy-map multi-match
command in configuration mode,
you can associate the following Layer 7 policy maps with a Layer 3 and Layer 4
policy map:
•
To associate a Layer 7 HTTP server load-balancing policy map, nest the
load-balancing policy map by using the Layer 3 and Layer 4
loadbalance
policy command.
•
To associate a Layer 7 optimization HTTP policy map, nest the optimization
policy map by using the Layer 3 and Layer 4
optimize http policy
command.
•
To associate a Layer 7 HTTP application inspection policy map, nest the
HTTP application traffic policy by using the Layer 3 and Layer 4
inspect http
policy
command.
•
To associate a Layer 7 FTP command inspection policy map, nest the FTP
command inspection traffic policy by using the Layer 3 and Layer 4
inspect
ftp policy
command.
See the
“Configuring a Layer 3 and Layer 4 Policy Map”
section and the
documents listed in
Table 4-9
for the specific procedure to create a Layer 3 and
Layer 4 policy map that associates a Layer 7 HTTP server load balancing, HTTP
deep packet inspection, or FTP command inspection policy map.
For example, to nest the Layer 7 L7_SLB_POLICY policy map within the Layer 3
and Layer 4 L4_SLB_POLICY policy map, enter:
host1/Admin(config)#
policy-map type loadbalance first-match
L7_SLB_POLICY
host1/Admin(config-pmap-lb)#
class L7_SLB_CLASS
host1/Admin(config-pmap-lb-c)#
serverfarm FARM2 backup FARM3 sticky
host1/Admin(config-pmap-lb-c)#
exit
host1/Admin(config-pmap-lb)#
exit
host1/Admin(config)#
policy-map multi-match L4_SLB_POLICY
host1/Admin(config-pmap)#
class L4_SLB_CLASS
host1/Admin(config-pmap-c)#
loadbalance policy L7_SLB_POLICY