Cisco ACE-4710-K9 Administration Manual page 178

Application control engine appliance
Table of Contents

Advertisement

Class Maps and Policy Map Examples
host1/Admin(config-pmap-lb)# class class-default
host1/Admin(config-pmap-lb-c)# serverfarm SERVER-HANDLE-ALL
host1/Admin(config-pmap-lb-c)# exit
host1/Admin(config-pmap-lb)# exit
host1/Admin(config)#
Create a Layer 3 and Layer 4 class map that classifies the 3-tuple flow of the VIP
Step 4
address, protocol, and port as matching criteria for server load balancing by
entering the following commands:
host1/Admin(config)# class-map L4_SLBVIP_CLASS
host1/Admin(config-cmap)# match virtual-address 192.168.5.10 tcp port
eq 80
host1/Admin(config-cmap)# exit
host1/Admin(config)#
Create an HTTP parameter map to enable HTTP persistence by entering the
Step 5
following commands:
host1/Admin(config)# parameter-map type http HTTP_PARAMETER_MAP
host1/Admin(config-parammap-http)# persistent-rebalance
host1/Admin(config-parammap-http)# exit
host1/Admin(config)#
Step 6
Create a Layer 3 and Layer 4 policy map to activate the traffic classifications
outlined in the previous steps by entering the following commands:
host1/Admin(config)# policy-map multi-match L4_SLB_POLICY
host1/Admin(config-pmap)# class L4_SLBVIP_CLASS
host1/Admin(config-pmap-c)# loadbalance policy L7_SLB_POLICY
host1/Admin(config-pmap-c)# loadbalance vip inservice
host1/Admin(config-pmap-c)# appl-parameter http advanced-options
HTTP_PARAMETER_MAP
host1/Admin(config-pmap-c)# exit
host1/Admin(config-pmap)# exit
host1/Admin(config)#
Apply the completed policies to interface VLAN 10 by entering the following
Step 7
commands:
host1/Admin(config)# interface VLAN 10
host1/Admin(config-if)# service-policy input L4_SLB_POLICY
Cisco 4700 Series Application Control Engine Appliance Administration Guide
4-64
Chapter 4
Configuring Class Maps and Policy Maps
OL-11157-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

4700 series

Table of Contents