Gilles Dufour Mon, 12/01/2008 - 06:30

do you want to probe /console ?

Do you want to match only /console ??

If the second, you need to create an http loadlabalcing class-map


switch/Admin(config)# class-map type http loadbalance UrlConsole

switch/Admin(config-cmap-http-lb)# match http url /console

Then under you http policy, match the newly defined class-map.


ropethic Wed, 12/03/2008 - 17:56

Create two class-maps

#class-map type http loadbalance match-any console

lb#match http url .*console.*

#class-map type http loadbalance match-any html

lb#match http url .*html

Create VIP

#class-map VIP-XXX

#match virtual-address x.x.x.x any

Create Policy Map

#policy-map type loadbalance first-match lb

lb# class class-default

lb# class console

lb-c# serverfarm "abc"

lb-c# class html

lb-c# serverfarm "abc'

lb-c# class VIP-xxx

lb-c# loadbalance lb

lb-c#loadbalance vip inservice

Apply to interface

int vlan x

service-policy input

shivgahlot Wed, 12/03/2008 - 19:24

Hi Ropethic

Thanks for your response

Your configuration is giving some logic, I will try then revert back to you.

I also tried with following configuration as shown below & but it doesn't work :-

class-map match-all EXTERNAL-VIP

2 match virtual-address tcp eq 7001

class-map type http loadbalance match-all URL-CONSOLE

2 match http url .*/console

policy-map type loadbalance first-match SLB-LOGIC


serverfarm Application-Farm

policy-map multi-match CLIENT-VIPS


loadbalance vip inservice

loadbalance policy SLB-LOGIC

ropethic Thu, 12/04/2008 - 04:45

Dont forget to apply the service policy to the client vlan


This Discussion