Export Virtual Server Configuration in CSV - tmsh cli script
Problem this snippet solves:
This is a simple cli script used to collect all the virtuals name, its VIP details, Pool names, members, all Profiles, Irules, persistence associated to each, in all pa...
Updated Oct 24, 2023
Version 2.0jaikumar_f5
MVP
Joined May 16, 2019
jaikumar_f5
MVP
Joined May 16, 2019
jaikumar_f5
Feb 19, 2021MVP
Hi ,
If you just delete the script & save your configuration, it will get removed from script.conf file.
tmsh delete cli script <scrip-name>
Well converting the script to bash is doable, but i'd say running it against tmos would be resource consuming as there will be multiple commands.
Hence the CLI method is better. The alternate approach would be to use the bigip.conf file & then parse it.
Basic bash would something like below article.
https://devcentral.f5.com/s/articles/bash-script-to-find-clientssls-mapped-to-virtual-servers-1143