Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

ACE - match on source address

Hi !

I am trying to setup a LB condition based on SOURCE-ADDRESSES.

I did the following:

1) created class-map:

- class-map match-any SRC_LB

2 match source-address xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx

- defined policy-map

policy-map type loadbalance first-match SRC_LB_PCY

class class-default

serverfarm xxx

- and finally did:

policy-map multi-match SRC_PCY

class SRC_LB

loadbalance policy SRC_LB_PCY

BUT it says:

Error: LB action requires match vip command!

I want to match on Source-IP - not on Dst-IP.

Could you please help me ?

thx

Hans

1 REPLY

Re: ACE - match on source address

You need a VIP to perform LB,You cannot load balance just with Src address.

You can use a combination such that Traffic hitting a particular Vip can select ServerfarmA for src add x & Serverfarm B for src add y.

Syed Iftekhar Ahmed

294
Views
0
Helpful
1
Replies
CreatePlease login to create content