4-21
Cisco 4700 Series Application Control Engine Appliance Administration Guide
OL-11157-01
Chapter 4 Configuring Class Maps and Policy Maps
Class Map and Policy Map Configuration Quick Start
Table 4-6
provides a quick overview of the steps required to create and configure
a Layer 7 policy map. Each step includes the CLI command required to complete
the task.
Table 4-6
Layer 7 Policy Map Configuration Quick Start
Task and Command Example
1.
If you are operating in multiple contexts, observe the CLI prompt to verify
that you are operating in the desired context. If necessary, log directly in to,
or change to, the correct context.
host1/Admin#
changeto C1
host1/C1#
The rest of the examples in this table use the Admin context, unless
otherwise specified. For details on creating contexts, see the
Cisco 4700
Series Application Control Engine Appliance Virtualization Configuration
Guide
.
2.
Enter configuration mode.
host1/Admin#
config
Enter configuration commands, one per line. End with CNTL/Z
host1/Admin(config)#
3.
(Optional) Create and configure a policy map that defines Layer 7 HTTP
content load-balancing decisions.
host1/Admin(config)#
policy-map type loadbalance first-match
L7_SLB_POLICY
host1/Admin(config-pmap-lb)#
description HTTP LOAD BALANCE
PROTOCOL 1
host1/Admin(config-pmap-lb)#
class L7_SLB_CLASS
host1/Admin(config-pmap-lb-c)#
serverfarm FARM2 backup FARM3
sticky
4.
(Optional) Create and configure a policy map that defines Layer 7
application acceleration and optimization decisions.
host/Admin(config)#
policy-map type optimization http first-match
L7_OPTIMIZATION_POLICY
host1/Admin(config-pmap-optmz)#
description This policy map
performs delta optimization along with SLB activities
host1/Admin(config-pmap-optmz)#
class L7_SLB_CLASS
host1/Admin(config-pmap-optmz-c)#
action ACT_LIST1 parameter
OPTIMIZE_PARAM_MAP