# View persistence table data

**URL:** <https://community.f5.com/t/view-persistence-table-data/38174>\
**Category:** Technical Forums\
**Tags:** irules, devops, ltm, application-delivery, microsoft\
**Created:** [March 17, 2014, 6:53pm UTC](https://community.f5.com/t/view-persistence-table-data/38174 "2014-03-17T18:53:17Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Philip\_King\_719](https://avatars.discourse-cdn.com/v4/letter/p/f6c823/32.png) [@Philip\_King\_719](https://community.f5.com/u/Philip_King_719)\
**Post date:** [March 17, 2014, 6:53pm UTC](https://community.f5.com/t/view-persistence-table-data/38174/1 "2014-03-17T18:53:17Z")

</div>

Is there a command available to view the data held in the persistence table for LTM v11.2.1?

I have recently switched from using a persistence profile that affected all traffic to the VIP to an irule that only sets persistence if the URI matches a key word. After this change it appears that not all connections are getting persistence set.

---

<div class="post-metadata">

**Author:** ![MVA\_60288](https://avatars.discourse-cdn.com/v4/letter/m/dfb087/32.png) [@MVA\_60288](https://community.f5.com/u/MVA_60288)\
**Post date:** [March 17, 2014, 7:12pm UTC](https://community.f5.com/t/view-persistence-table-data/38174/2 "2014-03-17T19:12:21Z")

</div>

Philip, try this tmsh command based on maybe client ip address:

“tmsh show /ltm persistence persist-records client-addr %client\_IP%”

There are also other switches like:

key Specifies the key to look up in the persist table. It is based on the persist mode. mode Specifies the type of persistence. node-addr Specifies the address of the node with which the client session remains persistent. node-port Specifies the port of the node with which the client session remains persistent. pool Specifies the name of the pool with which the client session remains persistent. virtual Specifies the name of the virtual with which the client session remains persistent.

Hope that helps.

---

<div class="post-metadata">

**Author:** ![MVA](https://avatars.discourse-cdn.com/v4/letter/m/8dc957/32.png) [@MVA](https://community.f5.com/u/MVA)\
**Post date:** [March 17, 2014, 7:12pm UTC](https://community.f5.com/t/view-persistence-table-data/38174/3 "2014-03-17T19:12:21Z")

</div>

Philip, try this tmsh command based on maybe client ip address:

“tmsh show /ltm persistence persist-records client-addr %client\_IP%”

There are also other switches like:

key Specifies the key to look up in the persist table. It is based on the persist mode. mode Specifies the type of persistence. node-addr Specifies the address of the node with which the client session remains persistent. node-port Specifies the port of the node with which the client session remains persistent. pool Specifies the name of the pool with which the client session remains persistent. virtual Specifies the name of the virtual with which the client session remains persistent.

Hope that helps.

---

<div class="post-metadata">

**Author:** ![Philip\_King\_719](https://avatars.discourse-cdn.com/v4/letter/p/f6c823/32.png) [@Philip\_King\_719](https://community.f5.com/u/Philip_King_719)\
**Post date:** [March 17, 2014, 7:24pm UTC](https://community.f5.com/t/view-persistence-table-data/38174/4 "2014-03-17T19:24:39Z")

</div>

that worked, thanks

---

<div class="post-metadata">

**Author:** ![Philip\_King\_719](https://avatars.discourse-cdn.com/v4/letter/p/f6c823/32.png) [@Philip\_King\_719](https://community.f5.com/u/Philip_King_719)\
**Post date:** [March 17, 2014, 9:25pm UTC](https://community.f5.com/t/view-persistence-table-data/38174/5 "2014-03-17T21:25:17Z")

</div>

Is there a help file or guide to list out what is being returned and what options are available?

I’ve used what you listed above to pull the persistence data for one of my pools, but now I’m not sure what the data is being returned. It is showing the type of persistence, the IP/port of the VIP, the IP/port of the node, and then a number.

---

<div class="post-metadata">

**Author:** ![MVA](https://avatars.discourse-cdn.com/v4/letter/m/8dc957/32.png) [@MVA](https://community.f5.com/u/MVA)\
**Post date:** [March 18, 2014, 1:09pm UTC](https://community.f5.com/t/view-persistence-table-data/38174/6 "2014-03-18T13:09:07Z")

</div>

The best guide I can find is at [404 Page not found | BIG-IP Documentation](http://support.f5.com/kb/en-us/products/big-ip%5C_ltm/manuals/product/bigip-tmsh-11-2-1.pdf?sr=35947330) page 1095, but it doesn’t show all the column headings.

I suspect the number at the end is the TMM process as it matches up with output in “tmsh show /sys connection cs-client-addr %IP\_ADDR%”

Another way to look at persistence is thru the GUI; Statistics -\>Module Statistics-\>Local Traffic. Select “Persistence Records” from Statistics Type drop down, enter pool or client IP in filter.

---

<div class="post-metadata">

**Author:** ![lorvain\_176032](https://avatars.discourse-cdn.com/v4/letter/l/db5fbb/32.png) [@lorvain\_176032](https://community.f5.com/u/lorvain_176032)\
**Post date:** [June 3, 2015, 1:24pm UTC](https://community.f5.com/t/view-persistence-table-data/38174/7 "2015-06-03T13:24:47Z")

</div>

is there a way to obtain this result on an iRule ? tmsh show ltm persitence persist-records mode cookie key “xxx” regards

---

<div class="post-metadata">

**Author:** ![lorvain\_176032](https://avatars.discourse-cdn.com/v4/letter/l/db5fbb/32.png) [@lorvain\_176032](https://community.f5.com/u/lorvain_176032)\
**Post date:** [June 3, 2015, 1:24pm UTC](https://community.f5.com/t/view-persistence-table-data/38174/8 "2015-06-03T13:24:47Z")

</div>

is there a way to obtain this result on an iRule ? tmsh show ltm persitence persist-records mode cookie key “xxx” regards

---

<div class="post-metadata">

**Author:** ![Gurus](https://avatars.discourse-cdn.com/v4/letter/g/3d9bf3/32.png) [@Gurus](https://community.f5.com/u/Gurus)\
**Post date:** [April 27, 2017, 5:44pm UTC](https://community.f5.com/t/view-persistence-table-data/38174/9 "2017-04-27T17:44:33Z")

</div>

You can also view the same from the Configuration Utility as well. Steps to view is here:

1) Navigate to Module Statistics \> Local Traffic

2) Select “persistence records” from the statistics type drop-down

thanks

~ Guru

---

<div class="post-metadata">

**Author:** ![Gurus](https://avatars.discourse-cdn.com/v4/letter/g/3d9bf3/32.png) [@Gurus](https://community.f5.com/u/Gurus)\
**Post date:** [April 27, 2017, 5:44pm UTC](https://community.f5.com/t/view-persistence-table-data/38174/10 "2017-04-27T17:44:33Z")

</div>

You can also view the same from the Configuration Utility as well. Steps to view is here:

1) Navigate to Module Statistics \> Local Traffic

2) Select “persistence records” from the statistics type drop-down

thanks

~ Guru
