Forum Discussion
Greg_Black
Altostratus
Mar 16, 2018Need to run a report for "Persistence Profile" selection
I have a couple of F5s in a fail-over configuration running running 12.1.3...
I have about 9 pages of VIPs configured, and I need to ensure I have "cookie" selected for the persistence profile. I ha...
jaikumar_f5
Noctilucent
Mar 16, 2018Edit: Updated to capture the persist none's too.
Hope this helps,
tmsh list ltm virtual all all-properties one-line |awk '{for(i=0;i<=NF;i++)if($i=="persist"){p=$(i+1);q=$(i+2);break}; print $3,p,q}' | sed -e "s/{//g" -e "s/policies//g" > vip_with_persistence.csv
You'll get the output saved in the vip_with_persistence.csv file, this will be comma separated file, so you'll be easy to filter & make the changes on the required one's alone.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
