cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
830
Views
3
Helpful
4
Replies

Stickyness based on pattern match

Trying to replicate a Radware load balancing setup - where a string is searched for in the HTTP header, then the following field (by offset) is used as the cookie.

There doesn't seem a way to do similar on ACE, the field is too far into the header to reliably find it by offset alone.

1 Accepted Solution

Accepted Solutions

Hi,

Have you tried type "generic"? For example:

sticky layer4-payload WHATEVER

layer4-payload yada yada yada

serverfarm SFARM-WHATEVER

policy-map type loadbalance generic first-match LB-POLICY

class class-default

sticky-serverfarm WHATEVER

HTH

Cathy

View solution in original post

4 Replies 4

With Layer 4 payload stickiness (

stickiness based on a string in the data of a TCP stream or UDP packet) you can stick sessions using any string

details at

http://www.cisco.com/en/US/docs/interfaces_modules/services_modules/ace/v3.00_A2/configuration/slb/guide/sticky.html#wp1064423

Syed Iftekhar Ahmed

Thanks, had figured that out by the time you replied.

Has anyone got any configuration examples? Configuring the 'sticky layer4-payload' part is fine, but when it comes to applying the policy I get 'Error: Sticky type not consistent with policy map type' - despite trying various different policy types.

Hi,

Have you tried type "generic"? For example:

sticky layer4-payload WHATEVER

layer4-payload yada yada yada

serverfarm SFARM-WHATEVER

policy-map type loadbalance generic first-match LB-POLICY

class class-default

sticky-serverfarm WHATEVER

HTH

Cathy

Thanks, 'generic' was the keyword I was missing.

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: