Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

CSS Troubleshooting "advanced-balance url" based on string-range

Hi together,

a questions for troubleshooting "string range stickyness".

I configured a content rule:

content L5_HTTP_81

vip address 192.168.1.1

balance aca

no persistent

protocol tcp

port 81

url "/*"

advanced-balance url

add service service1 weight 1

add service service2 weight 1

string range 30 to 255

string eos-char "_"

string prefix "shopId="

active

service service1

ip address 10.1.128.23

keepalive maxfailure 2

protocol tcp

redundant-index 2102

keepalive frequency 15

keepalive retryperiod 10

keepalive type http

keepalive port 80

keepalive method get

keepalive uri "/admin/Ping.simple"

string 148.49

port 80

active

service service2

ip address 10.1.128.22

keepalive maxfailure 2

protocol tcp

redundant-index 2101

keepalive type http

keepalive method get

keepalive frequency 15

keepalive retryperiod 10

keepalive port 80

keepalive uri "/admin/Ping.simple"

string 148.48

port 80

active

1. I take a string from the 30rd to 255 character out of the URL starting at "/".

2. Now I search for a string between "shop_Id=" and "_", on which the stickyness is based.

3. string "148.49" is allocated to service1, string "148.48" is allocated to service2.

Is there any possibillity to view or debug the handling, how the string is matched in the http request and on which service the request is forwarded ?

thanks in advance

sascha

1 REPLY
Silver

Re: CSS Troubleshooting "advanced-balance url" based on string-r

Here is the command reference. take a look at the available commands.

http://www.cisco.com/univercd/cc/td/doc/product/webscale/css/css_710/cmdrefgd/index.htm

155
Views
0
Helpful
1
Replies
CreatePlease to create content