cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
239
Views
0
Helpful
1
Replies

ACE Module Question

jteixido
Level 1
Level 1

Hi,

I have the following configuration:

policy-map type loadbalance first-match test

class L7-URL

sticky-serverfarm test

insert-http src-ip header-value %is:%ps:%id:%pd

class class-default

serverfarm test

Does the class class-default need to be in the above configuration? The reason I as is because I see it in some examples and not in others.

Regards,

John...

1 Reply 1

class-default act as a last resort under policy configuration. If there are multiple classes to check against the traffic then policy will compare traffic against all the classes and if there is no match then actions for class-default will be used.

In your case

ACE will look for the condition in "class L7-URL" , if it matches then it will use sticky-group test (which should have a serverfarm associated to it). Serverfarm under the sticky group will be used if the client request matches the class L7-URL.

If client request doesnt match the condition in "class L7-URL" then server farm test (under class-default) will be used.

HTH

Syed iftekhar Ahmed

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: