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

L7 URL Policy command for CSS to ACE

umesh_vid1080
Level 1
Level 1

Hi All !

What will be exact Layer 7 URL matching policy command for below CSS configuration .


owner PRO

  content proservers
    add service proweb2
    vip address x.x.x.x1
    add service proweb3
    balance leastconn
    protocol tcp
    port 80
    url "/*"
    advanced-balance arrowpoint-cookie
    arrowpoint-cookie name prolianceweb
    arrowpoint-cookie browser-expire
    active

Thansk In Advance .

4 Replies 4

pablo.nxh
Level 3
Level 3

Hi Buddy,

The URL matching on the ACE for that config would be like this:

class-map type http loadbalance match-any Any
  2 match http url .*


policy-map type loadbalance first-match LB
  class Any
    serverfarm Backend

policy-map multi-match VLAN100
  class WWW
    loadbalance vip inservice
    loadbalance policy LB
    loadbalance vip icmp-reply

HTH

__ __

Pablo

Thanks for config , I will try and update you soon .

jsirstin
Level 1
Level 1

Umeshkumar,

The config would look something like this.

probe http WEB_SERVERS
  interval 30

  passdetect interval 30

  passdetect count 2
  request method get url /index.html
  expect status 200 200

rserver host proweb2

  ip address 192.168.0.200
  inservice
rserver host proweb3

  ip address 192.168.0.201
  inservice

serverfarm host SF-1
  probe WEB_SERVERS
  rserver proweb2

    inservice
  rserver proweb3

    inservice

sticky http-cookie prolianceweb cookie-sticky
  cookie insert browser-expire
  serverfarm SF-1

class-map match-all L4-CLASS-HTTP

   2 match virtual-address x.x.x.1 tcp eq http

policy-map type loadbalance http first-match HTTP-POLICY
  class class-default
    sticky-serverfarm COOKIE-STICKY
  

policy-map multi-match VIPs
  class L4-CLASS-HTTP

    loadbalance vip inservice
    loadbalance policy HTTP-POLICY
    loadbalance vip icmp-reply
  

Thank you

Jim

Thansk Jim !

Review Cisco Networking for a $25 gift card