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

The order of reading an ACE config

Stuart6
Level 1
Level 1

Hi all,

This is going to be a basic question, but I've come across a Cisco ACE that I've been asked to migrate the load balancing configuration off onto an alternative ADC.

I have the configuration but it contains two entries for the same IP/Port information.  Is there a precedence if I have two entries with the same IP/Port, or do I misunderstand the logic, and this is an ACE example of a Content Switch?

E.g.: In this example, will traffic get passed to FARM1 or FARM2 backend servers if you hit 192.168.1.22:443 ?  (Appreciate the probe and ssl-proxy service is missing out of the config).

serverfarm host FARM1
  probe PROBE1
  rserver SERVER1 8000
    inservice
serverfarm host FARM2
  probe PROBE2
  rserver SERVER3 8000
    inservice

action-list type modify http HTTP_ACTION1
ssl url rewrite location "www\.sta\.domain\.co\.uk"
action-list type modify http HTTP_ACTION2
ssl url rewrite location "docs\.sta\.domain\.co\.uk"
class-map match-all FARM1 2 match virtual-address 192.168.1.22 tcp eq https class-map match-all FARM2 2 match virtual-address 192.168.1.22 tcp eq https policy-map type loadbalance first-match FARM1 class default-compression-exclusion-mime-type serverfarm FARM1 compress default-method gzip class class-default serverfarm FARM1 compress default-method gzip action HTTP_ACTION1 policy-map type loadbalance first-match FARM2 class default-compression-exclusion-mime-type serverfarm FARM2 compress default-method gzip class class-default serverfarm FARM2 compress default-method gzip action HTTP_ACTION2 class FARM1 loadbalance vip inservice loadbalance policy FARM1 loadbalance vip icmp-reply active appl-parameter http advanced-options PERSISTANCE ssl-proxy server SSL_FARM1 class FARM2 loadbalance vip inservice loadbalance policy FARM2 loadbalance vip icmp-reply active appl-parameter http advanced-options PERSISTANCE ssl-proxy server SSL_FARM2

Any help or pointers would be really helpful! 

Thanks very much

0 Replies 0

Review Cisco Networking for a $25 gift card