ACE : processing order in a first-match policy-map

Unanswered Question
Aug 18th, 2010
User Badges:

Hi,


Often, the processing order of the different classes inside a policy map is important. However, when a new class is added, it is placed at the end of the policy map. More severely, if you reload an configuration with the checkpoint rollback command, the classes inside the policy map won't keep their orinal order. The only way to fix the problem is then to remove all classes and to re-enter them using the "insert-before" statement.


My question is:


Why does not the ACE keep the original order when doing a checkpoint rollback ?  Is it a recognized issue in the ACE ?



Thank you


Yves




Here is for example a typical policy map in which the class order is crucial for the site to work :


policy-map type loadbalance http first-match L7_POLICY_ECOM_PROD_HTTP
  description *** Load balancing rule for PROD in http mode ***
  class L7_CLASS_REDIRECT_001
    serverfarm WEB_REDIRECT_001
  class L7_CLASS_REDIRECT_WEB
    serverfarm WEB_REDIRECT_FARM
  class L7_CLASS_ECOM_WEB1
    sticky-serverfarm ECOM_STICKY_WEB1_HTTP
    insert-http X-Forwarded-Proto header-value "%pd"
    insert-http X-Forwarded-For header-value "%is"
  class L7_CLASS_ECOM_WEB2
    sticky-serverfarm ECOM_STICKY_WEB2_HTTP
    insert-http X-Forwarded-For header-value "%is"
    insert-http X-Forwarded-Proto header-value "%pd"
  class L7_CLASS_ECOM_PROD_URL
    sticky-serverfarm ECOM_STICKY_PROD_HTTP
    insert-http X-Forwarded-Proto header-value "%pd"
    insert-http X-Forwarded-For header-value "%is"
  class L7_CLASS_ECOM_PROD_REFERER
    sticky-serverfarm ECOM_STICKY_PROD_HTTP
    insert-http X-Forwarded-Proto header-value "%pd"
    insert-http X-Forwarded-For header-value "%is"
  class L7_CLASS_ECOM_CATCH_ALL
    sticky-serverfarm ECOM_STICKY_WEB2_HTTP
    insert-http X-Forwarded-For header-value "%is"
    insert-http X-Forwarded-Proto header-value "%pd"

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Gilles Dufour Wed, 08/18/2010 - 03:00
User Badges:
  • Cisco Employee,

The problem will be addressed with ddts :


CSCso76154    rollback is not modifying classes order after class reinsert action


The fix will be in A2(3.3).


Gilles.

yves.haemmerli Thu, 08/19/2010 - 01:33
User Badges:

Hi Gilles,


Thank you for your answer. The same problem exists on the ACE 4710. In the bug toolkit, the fix seems to be only for the ACE module A2(3.3)


My ACE 4710 run code Version A3(2.4)


Thank you


Yves

Gilles Dufour Thu, 08/19/2010 - 01:52
User Badges:
  • Cisco Employee,

Yves,


unfortunately it has not yet been fixed on the Appliance.

But there is an internal ddts open to port the module fix to the appliance: CSCth55354.

I'll make sure this ddts get fixed in A3(2.7)


Gilles.

Actions

This Discussion

Related Content