Forum Discussion

Thiyagu_163984's avatar
Thiyagu_163984
Icon for Nimbostratus rankNimbostratus
Jan 19, 2016

F5 LTM command to find the sticky type and load distribution

Hello All, I"m working on a task to change the session persistence type from IP based to cookie based. I would like to know the command to find the configured sticky type for a VIP and number of connections or sessions to the servers.

 

LTM version :11.5.1

 

Thanks in advance for your help.

 

We can get these details through GUI but I'm interested to know the commands as well.

 

Regards, Thiyagu

 

2 Replies

  • To show persistence for a virtual:

     

    tmsh list ltm virtual PATH-TO-VIP-HERE persist

     

    To show connections:

     

    tmsh show system connection

     

    There are several parameters to specify the portion of the connection table that interests you. For example, to show the table entries for connections to VIP a.b.c.d:

     

    tmsh show sys connection cs-server-addr a.b.c.d

     

    If you add all-properties to the command you will see much more information for each connection.