Forum Discussion
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]