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

Ace optimization bypass

kashman37
Level 1
Level 1

Dear all,

I am trying to find a way to bypass optimization for a specific L7 Class-Map on ACE 4710. My problem is that i am using one VIP and i am intercepting users based on L7 URL match statements and send them to the apropriate sticky-serverfarms (many http-https applications on the same domain name URL). Thus, when i apply my optimization Policy i apply it on the VIP class-map under multimatch policy. I am looking for a way to exclude optimization for a certain L7 class-map eq(if users hit  ".*/nooptimization/.*" then they should not be optimized).

waitting for your reply.

1 Accepted Solution

Accepted Solutions

Gilles Dufour
Cisco Employee
Cisco Employee

policy-map type optimization http first-match Gilles_AVS
  class dynamic_content_map
    action dynamic_content
  class object_map
    action object parameter HTP
  class ff_object_map
    action opt-images
  class web_html
    action web_html
  class avs_default_map
    action avs_default

policy-map multi-match AVS
  class VIP-15-80
    loadbalance vip inservice
    loadbalance policy LB1
    optimize http policy Gilles_AVS
    loadbalance vip icmp-reply active
    nat dynamic 1 vlan 30
    appl-parameter http advanced-options cisco_avs_parametermap

One policy for loadbalancing and one policy for optimization with class-map inside the optimization policy to define what optimization for which url.

This should work.

Gilles.

View solution in original post

2 Replies 2

Gilles Dufour
Cisco Employee
Cisco Employee

policy-map type optimization http first-match Gilles_AVS
  class dynamic_content_map
    action dynamic_content
  class object_map
    action object parameter HTP
  class ff_object_map
    action opt-images
  class web_html
    action web_html
  class avs_default_map
    action avs_default

policy-map multi-match AVS
  class VIP-15-80
    loadbalance vip inservice
    loadbalance policy LB1
    optimize http policy Gilles_AVS
    loadbalance vip icmp-reply active
    nat dynamic 1 vlan 30
    appl-parameter http advanced-options cisco_avs_parametermap

One policy for loadbalancing and one policy for optimization with class-map inside the optimization policy to define what optimization for which url.

This should work.

Gilles.

Thank you very much Gilles, this seems to do the trick.

Review Cisco Networking for a $25 gift card