Clear advanced sticky source ip sessions

Answered Question
Jul 23rd, 2007

I would like to clear advanced sticky source ip sessions every morning at 1am

is there a script or command to do this?

Thanks

I have this problem too.
0 votes
Correct Answer by Syed Iftekhar Ahmed about 9 years 4 months ago

The ip address in sticky-purge l3-sticky command is the clients IP address.

following are the show commands for Layer3 sticky database

show sticky-stats

show sticky-table l3-sticky

show sticky-table l3-sticky ipaddress 10.10.10.10

Syed Iftekhar Ahmed

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Syed Iftekhar Ahmed Mon, 07/23/2007 - 10:05

You need to go into debug mode to purge the sticky entries

If you want to purge the entire table

CSS# llama

CSS(debug)# sticky-purge l3-sticky

To clear just one entry, specify the ip address and mask of the entry

CSS(config)# llama

CSS(debug)# sticky-purge l3-sticky 10.1.2.3 255.255.255.0

Hope it helps

Syed Iftekhar Ahmed

thumpercisco Mon, 07/23/2007 - 11:28

I can see 10 sticky l3 entries but I am not purging the right IP address nor doing a show with the right IP address.

Do I use the VIP address or the individual server IP's?

Is there a way to show IP's of sticky stats or the sticky table?

Thank you

Correct Answer
Syed Iftekhar Ahmed Mon, 07/23/2007 - 11:38

The ip address in sticky-purge l3-sticky command is the clients IP address.

following are the show commands for Layer3 sticky database

show sticky-stats

show sticky-table l3-sticky

show sticky-table l3-sticky ipaddress 10.10.10.10

Syed Iftekhar Ahmed

thumpercisco Mon, 07/23/2007 - 12:03

Thank you for the clarification. I was looking to clear specific content IP sticky srcip sessions and remove all client connections at 1am every morning. It looks as though my only choices are specific IP's or global l3 stuck sessions.

Thank you

Actions

This Discussion