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

Multiple slb-policy statements in a vserver

If I add three slb-policy statements to a vserver will all three policies be checked for each connection that flows through the vserver, or will the connection be set up based on the first matching policy, and the other policies ignored?

For example, if I have a vserver with two slb-policy statements: 1) policy with a url map which checks for the presence of *password* in the url and sends the connection to serverfarm PASSWORD; 2) policy with a url map which checks for the presence of *console* in the url which sends the connections to serverfarm CONSOLE, will the connection be passed to the PASSWORD serverfarm if the first policy is matched? Will the second policy be checked at all if the first policy is matched?

Thanks,

Thomas

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Multiple slb-policy statements in a vserver

The order of slb-polies under vserver configurations is important.Policies under vserver are checked sequentially and whenever there is a match no further checking is done.

e.g.

vserver WEB

virtual 10.10.50.100 tcp www

slb−policy Policy1

slb−policy Policy2

slb−policy Policy3

In this case, if Policy1 has a match, Policy2 & Policy3 are not even considered, and the serverfarm associated with policy Policy1 is used.

Hope it helps

Syed Iftekhar Ahmed

1 REPLY

Re: Multiple slb-policy statements in a vserver

The order of slb-polies under vserver configurations is important.Policies under vserver are checked sequentially and whenever there is a match no further checking is done.

e.g.

vserver WEB

virtual 10.10.50.100 tcp www

slb−policy Policy1

slb−policy Policy2

slb−policy Policy3

In this case, if Policy1 has a match, Policy2 & Policy3 are not even considered, and the serverfarm associated with policy Policy1 is used.

Hope it helps

Syed Iftekhar Ahmed

249
Views
0
Helpful
1
Replies
CreatePlease to create content