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

Question regarding http-cookie value

nsyal
Cisco Employee
Cisco Employee

Hi,

I have configured http-cookie based stickiness. When i am executing "show sticky database sticky http-cookie <cookie-vlaue>" it is not showing anything. But when i am executing the command "show sticky database sticky" i am able to see the entries.

My question is that what is the cookie-value in the command mentioned above.

I have the Setcookie as shown below:

Set-Cookie: ciscoindia=R1187312271.

I have tried with R1187312271 as the cookie value and it isn't showing anything.

Please provide with your inputs.

6 Replies 6

sachinga.hcl
Level 4
Level 4

Hi Nitesh,

First tell me on which device you have confred http-cookie.

On ACE device or CSS or GSS.

"show sticky database sticky http-cookie "

can be run on ACE

and

"show sticky database sticky" can be run on GSS /CSS.

After knowing the device your answer can be given more specifically.

Kind Regards,

Sachin Garg

Its ACE and "show sticky database sticky" can be run on ACE as well.

They are using A2(1.0) release.

can you send me the output of

show running-config sticky

Attached is the sh run config for one of the contexts.

Hi Nitesh,

The configuration you have send of the context to me does not contain any sticky configuration command.

Containing only probes, rserver, serverfarm, class-maps, policy maps.

Kindly send me the output for

#show sticky database sticky

and

#show running-config sticky

for the context containg sticky commands.

Also have you saved your configuration after adding http-cookie command.

Please let me know

best regards

sachin garg

Here are the outputs:

saec-scnpacesw01/Context-FE-Nonprod# show sticky database static

sticky group : sandbox.nokia.com-80

type : HTTP-COOKIE

timeout : 1440 timeout-activeconns : FALSE

sticky-entry rserver-instance time-to-expire flags

---------------------+--------------------------------+--------------+-------+

8299005317034422747 saesczq01:80 never -

sticky group : sandbox.nokia.com-443

type : HTTP-COOKIE

timeout : 1440 timeout-activeconns : FALSE

sticky-entry rserver-instance time-to-expire flags

---------------------+--------------------------------+--------------+-------+

3225149268681361384 saesczq01:81 never -

sticky group : sandbox2.nokia.com-80

type : HTTP-COOKIE

timeout : 1440 timeout-activeconns : FALSE

sticky-entry rserver-instance time-to-expire flags

---------------------+--------------------------------+--------------+-------+

10739917935203987419 saesczq01:80 never -

sticky group : sandbox.nokia.com-80

type : HTTP-COOKIE

timeout : 1440 timeout-activeconns : FALSE

sticky-entry rserver-instance time-to-expire flags

---------------------+--------------------------------+--------------+-------+

15273335089781156206 saesczq02:80 never -

sticky group : sandbox.nokia.com-443

type : HTTP-COOKIE

timeout : 1440 timeout-activeconns : FALSE

sticky-entry rserver-instance time-to-expire flags

---------------------+--------------------------------+--------------+-------+

2433051410394804892 saesczq02:81 never -

sticky group : sandbox2.nokia.com-80

type : HTTP-COOKIE

timeout : 1440 timeout-activeconns : FALSE

sticky-entry rserver-instance time-to-expire flags

---------------------+--------------------------------+--------------+-------+

17986435613451416461 saesczq02:80 never -

saec-scnpacesw01/Context-FE-Nonprod# show running-config sticky

Generating configuration....

sticky http-cookie kekkonen sandbox.nokia.com-443

cookie insert browser-expire

replicate sticky

serverfarm sandbox.nokia.com-443

sticky http-cookie koivisto sandbox.nokia.com-80

cookie insert browser-expire

replicate sticky

serverfarm sandbox.nokia.com-80

sticky http-cookie nitesh sandbox2.nokia.com-80

cookie insert browser-expire

replicate sticky

serverfarm sandbox2.nokia.com-80