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

HTTP Layer-7 load-balancing

Hi, I would like to accomplish the following. resolves to a VIP on the Cisco ACE 4700 on HTTP.

When a client types in, I would like the request to be redirected to

How do I go about doing this? Do I need to create a real-server with an IP address that resolves to How do I configure the Layer-7 match? Do I match on http-url for /bcd?

Are there any examples? Any examples would be appreciated.

Thank you.

Cisco Employee

Re: HTTP Layer-7 load-balancing

you will need a webhost redirect rserver.

You will also need to match your url with a class-map

class-map type http loadbalance match-any MyURL

2 match http url /bcd

Then in your http loadbalancing policy-map, you match the class-map MyURL and assigned the serverfarm with your webhost redirect rserver and then you add a class-default to match the rest of the traffic and assign it a serverfarm with your local rservers.


Community Member

Re: HTTP Layer-7 load-balancing

Thanks for your help!

Community Member

Re: HTTP Layer-7 load-balancing

Hi Gilles,

I followed your advice about using webhost redirect rserver, but the ACE doesn't seem to recognize the match-http-url.

I also can't ping the VIP, even though the VIP is active, and the probes are successful.

I've attached my ACE configuration. Can you take a look and see if I'm missing something or doing something wrong?

Thank you.

CreatePlease to create content