cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
884
Views
0
Helpful
2
Replies

Cisco ACE loadbalancing matching more than one header in L7 class map

abhisar patil
Level 1
Level 1

Dear All,

This is regarding Cisco ACE loadbalancing matching more than one header in L7 class map. I have a small setup with ACE 30 module in Cisco6500. I have got three webservers. Presently I have following configuration where I am mathing one url header.

class-map type http loadbalance match-all L7_WEB_HEADER_MATCH

description MATCH THE HOST HEADER OF HTTP REQUEST

2 match http header Host header-value ".*abhisar.com*"

So for above configuration, when traffic is coming for abhisar.com, it is working fine.

Now, I have following headers and DNS entry is pointing to same virtual IP for all http url header same as abhisar.com

abhisarindia.com

indiaabhi.com

So new configuration will be

class-map type http loadbalance match-any L7_WEB_HEADER_MATCH

description MATCH THE HOST HEADER OF HTTP REQUEST

2 match http header Host header-value ".*abhisar.com*"

4 match http header Host header-value ".*abhisarindia.com*"

6 match http header Host header-value ".*indiaabhi.com*"

So just want to confirm if this is fine.

Thank You,

Abhisar.

2 Replies 2

rajsures
Cisco Employee
Cisco Employee

Hi Abhisar,

The class-map configured looks fine to match as per your criteria.

Thanks,

Rajesh.

Dear Rajesh,

Thank you for reply. I will let you know once I carry out this activity.

Thank You,

Abhisar.

Review Cisco Networking for a $25 gift card