Forum Discussion
Terry_Fleming_2
Oct 06, 2018Nimbostratus
How to use values from session table to do a lookup on persist table
Thanks for your answer. The session command is working but I have one last issue. My session add command is adding to the persistence table
*session add uie $sessionid [list $calling_station_id...
PeteWhite
Oct 08, 2018Employee
The peristence table will do a lookup on the current VS. You need to use the options to tell it to look across all VSs. See https://clouddocs.f5.com/api/irules/persist.html
 
persist lookup [all|node|port|pool]
"all" or no specification returns a list containing the node, port and pool name.
Specifying any of the other return types will return the specified item only.
= | { [any virtual|service|pool] [pool ] }
the latter key specification is used to access persistence entries across virtuals, services, or pools.
 
So you want to use
 
set table [persist lookup uie $session_mac any virtual]
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects