Chapter 4 Configuring Class Maps and Policy Maps
Example of a Traffic Policy Configuration
4-68
Cisco 4700 Series Application Control Engine Appliance Administration Guide
OL-11157-01
Example of a Traffic Policy Configuration
The following example illustrates a running configuration that includes multiple
class maps and policy maps that define a traffic policy for SLB. The class map and
policy map configuration appears in bold in the example.
In this configuration, when a server farm is chosen for a connection, the
connection is sent to a real server based on one of several load-balancing
predictors. The leastconns predictor method load balances connections to the
server that has the lowest number of open connections.
access-list ACL1 line 10 extended permit ip any any
probe tcp TCP
interval 5
faildetect 2
passdetect interval 10
open 3
parameter-map type http PERSIST-REBALANCE
persistence-rebalance
parameter-map type connection PRED-CONNS-UDP_CONN
set timeout inactivity 300
serverfarm host PRED-CONNS
predictor leastconns
rserver SERVER1
inservice
rserver SERVER2
inservice
rserver SERVER3
inservice
rserver SERVER4
inservice
rserver SERVER5
inservice
rserver SERVER6
inservice
rserver SERVER7
inservice
rserver SERVER8
inservice