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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

CSS sticky-srcip-dstport problem....


real server : 2

contents configuration

owner test

content web_service

add service server1

add service server2

vip address

port 80

protocol tcp

advanced-balance sticky-srcip-dstport


slb not work!!!

CSS11503# sh service summary

Service Name State Conn Weight Avg State

Load Transitions

server1 Alive 12 1 56 100

server2 Alive 0 1 2 84

conn problem.. why.. please help

Cisco Employee

Re: CSS sticky-srcip-dstport problem....

I believe your Cisco SE forwarded the same question to me.

Here is the answer I gave him :

with sticky source ip, this output is most probably normal.

Let's say you have 4 clients, A,B,C,D.

They all open 2 connections to the VIP.

You will have on server 1 - AACC and on server 2 BBDD.

Now, let's say B and D decides to close the connections while C stays connected and A decides to open 2 more connections.

Because of stickyness the new connections from A will be sent to server1.

You end up with server1: AAAACC and server2: - no connections.

This is even worst if a server goes down.

Assume only server1 is up.

All clients open a connection. Because server2 is down, all the connection are sent to server1.

Because of stickyness, when server2 comes back up, all connections from A,B,C,D are still forwarded to server1.

I see your servers had a lot of transitions.

So you might have a sticky table that forwards most of the traffic to server1.

You should configure a sticky timeout, so that the sticky table can be refreshed.

Here is the command that you need :

CSS11503-2(config-owner-content[gdufour-WWW])# sticky-inact-timeout ?

Integer value(Range: 0-65535)

CSS11503-2(config-owner-content[gdufour-WWW])# sticky-inact-timeout

And clear the sticky table manually if you want to start fresh immediately.


New Member

Re: CSS sticky-srcip-dstport problem....

How can I setup to clear the sticky table a 3am every day?


Cisco Employee

Re: CSS sticky-srcip-dstport problem....

you'll have to use the 'cmd-sched' command to setup a scheduler that runs a script with the correct command to clear the sticky table.