BASH Script to find ClientSSL's mapped to Virtual Servers
Problem this snippet solves: Often times we may require to generate a report to know how many of the clientssl profiles are mapped to which virtual servers. One can use the simple tmsh list ltm vi...
Updated Jun 06, 2023
Version 2.0jaikumar_f5
MVP
Joined May 16, 2019
patonbike
May 03, 2018Cirrus
Very nice, I was actually just doing the exact same thing.
Here was my solution:
for i in `tmsh list ltm virtual { destination } |grep :https -B 1|grep ltm|awk '{print $3}'`; do
echo $i;
tmsh list ltm virtual $i { profiles }|grep clientside -B 1|grep -v clientside|grep -v tcp|grep -v "\-\-"|sed 's/{//g';
echo;
done