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

Clear advanced sticky source ip sessions

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

is there a script or command to do this?

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Clear advanced sticky source ip sessions

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

4 REPLIES

Re: Clear advanced sticky source ip sessions

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

Community Member

Re: Clear advanced sticky source ip sessions

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

Re: Clear advanced sticky source ip sessions

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

Community Member

Re: Clear advanced sticky source ip sessions

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

327
Views
0
Helpful
4
Replies
CreatePlease to create content