Ace optimization bypass

Answered Question
Nov 30th, 2009
User Badges:

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.

Correct Answer by Gilles Dufour about 7 years 5 months ago

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.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Correct Answer
Gilles Dufour Wed, 12/02/2009 - 01:54
User Badges:
  • 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.

kashman37 Wed, 12/02/2009 - 02:25
User Badges:

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

Actions

This Discussion