Layer 3 And Layer 4 Load-Balancing Example - Cisco ACE-4710-K9 Administration Manual

Application control engine appliance
Table of Contents

Advertisement

Chapter 4
Configuring Class Maps and Policy Maps

Layer 3 and Layer 4 Load-Balancing Example

Step 1
Step 2
Step 3
OL-11157-01
This example shows how to create a Layer 3 and 4 load-balancing traffic policy
that enables the following processes to occur on the ACE:
Load balances traffic to the SERVER-HANDLE-ALL server farm
Classifies the 3-tuple flow of VIP address, protocol, and port as matching
criteria for server load balancing
Perform the following steps:
Create a Layer 7 server load-balancing policy by entering the following
commands:
host1/Admin(config)# policy-map type loadbalance first-match
L7_SLB_POLICY
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
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
any
host1/Admin(config-cmap)# exit
host1/Admin(config)#
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)# exit
host1/Admin(config-pmap)# exit
host1/Admin(config)#
Cisco 4700 Series Application Control Engine Appliance Administration Guide
Class Maps and Policy Map Examples
4-65

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

4700 series

Table of Contents