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 4710 Class-maps - IF and OR logic

Hi,

I'm currently looking at doing some re-design work for a platform we manage on the ACE.

I want to be able to run a single VIP and only do a sticky session based around specific URL's not all.

I've got the following configuration to apply a sticky session to a URL.

class-map type http loadbalance match-all WEB-CLASS-MAP-L7
  2 match http url /urltobedefined.co.uk/test
class-map match-all WEB-CLASS-MAP-80
  2 match virtual-address 192.168.1.1 tcp eq www

policy-map type loadbalance http first-match WEB-POLICY-L7
  class WEB-CLASS-MAP-L7
    sticky-serverfarm CORPORATE-HTTP-vFARM-STICKY
class class-default

    Serverfarm - none sticky

policy-map multi-match VIP-POLICY

class WEB-CLASS-MAP-80
    loadbalance vip inservice
    loadbalance policy WEB-POLICY-L7
    loadbalance vip icmp-reply

Notice, under the Policy-map type loadbalance http first-match WEB-POLICY-L7 i have two class statements, one that matches the URL L7 policy and applies a sticky farm and the second class falls into the default.

Am i right in saying with this configuration, any http traffic hitting the VIP 192.168.1.1 that does NOT match /urltobedefined.co.uk/test sticky sessions are NOT applied. But traffic hitting 192.168.1.1 that does match /urltobedefined.co.uk/test will apply the sticky policy?   

Any feedback would be appreciated.

Cheers,

Everyone's tags (6)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

ACE 4710 Class-maps - IF and OR logic

Hi,

Your understanding is correct.

Regards,

Siva

2 REPLIES
Cisco Employee

ACE 4710 Class-maps - IF and OR logic

Hi,

Your understanding is correct.

Regards,

Siva

New Member

ACE 4710 Class-maps - IF and OR logic

Cool, cheers Sivaksiv i'll give it a go.

380
Views
0
Helpful
2
Replies
CreatePlease login to create content