cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2409
Views
0
Helpful
3
Replies

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

yves.haemmerli
Level 1
Level 1

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"

3 Replies 3

Gilles Dufour
Cisco Employee
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.

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

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: