cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
867
Views
5
Helpful
3
Replies

ACE - Do I need a L7 policy to configure L4 load-balancing

d-fillmore
Level 2
Level 2

Hi - I simply need to load balance TCP traffic to a specific port to 2 servers in a serverfarm. There is nothing in the documentation that states how to associate a serverfarm with a policy. The only documentation I can find which explains how to associate a serverfarm with a policy is if you configure a L7 policy - Do I need to configure a L7 policy even if I just want to do L4 load balancing?

I'm sure I must be missing something simple but I've been through the docs at length and I cn't find any config examples on CCO

Many Thanks, Dom

1 Accepted Solution

Accepted Solutions

ciscocsoc
Level 4
Level 4

Hi Dom,

You should only need a L7 policy if you are doing L7 inspection.

The skeleton config should be something like:

class-map match-all VIP

match virtual address 192.168.1.100 any

policy-map type loadbalance first-match LB-POLICY

class class-default

serverfarm FARM

policy-map multi-match VIPS

class VIP

loadbalance vip inservice

loadbalance vip LB-POLICY

(assuming that FARM is defined and the service policy applied to the interfaces)

If you look at the "getting started" guide there is a simple LB config in that. Although it does refer to an L7 policy it is more like an L4.

HTH

Cathy

View solution in original post

3 Replies 3

ciscocsoc
Level 4
Level 4

Hi Dom,

You should only need a L7 policy if you are doing L7 inspection.

The skeleton config should be something like:

class-map match-all VIP

match virtual address 192.168.1.100 any

policy-map type loadbalance first-match LB-POLICY

class class-default

serverfarm FARM

policy-map multi-match VIPS

class VIP

loadbalance vip inservice

loadbalance vip LB-POLICY

(assuming that FARM is defined and the service policy applied to the interfaces)

If you look at the "getting started" guide there is a simple LB config in that. Although it does refer to an L7 policy it is more like an L4.

HTH

Cathy

Cathy, looks like you became a pro of the ACE module :-) !!

Gilles.

Thanks Cathy - I raised a TAC case in the ned as I needed to know on Monday.

It's the fact that the documentation doesn't say that you need a L7 policy to do basic L4 load-balancing.

Many Thanks for your help =)

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: