cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
441
Views
0
Helpful
1
Replies

Regarding compression in ACE

lingaraj19
Level 1
Level 1

Hi All,

I need to configure the Compression policy in ACE.

Pls can any ne explain me how to do the compression policy and troublshooting the same.

Thanks in advance.

Regards,

Lingaraj

1 Reply 1

Kanwaljeet Singh
Cisco Employee
Cisco Employee

Hi Lingaraj,

You can configure compression by entering the compress command under a Layer 7 load-balancing policy. For example:

class-map type http loadbalance match-any L7default-compression- exclusion-mime-type_CLASS
description Classmap for default SLB compression exclusion mime-types.
2 match http url .*gif
3 match http url .*css
4 match http url .*js

policy-map type loadbalance first-match L7_COMP_SLB_POLICY
class L7default-compression-exclusion-mime-type_CLASS
   serverfarm SFARM1
class class-default
   serverfarm SFARM1
   compress default-method deflate 

You can create the http parameter map and apply that pmap to a policy map.

parameter-map type http  compression

    compress minimum-size xxx

Regards,

Kanwal

Review Cisco Networking for a $25 gift card