Forum Discussion
Chris_Olson_172
Altostratus
Jul 11, 2017tmsh command to list client-ssl profiles - Name only
I've searched this forum for a tmsh command to get a list of client-ssl profiles by name only. I don't need all the properties. I tried the one-line option but it still gives me all the detail. It mu...
Mr_Robot_349151
Nimbostratus
Apr 17, 2018Commenting for visibility for the question above! ^^
jaikumar_f5
Noctilucent
Apr 18, 2018Im a fan of Mr.Robot, so here for you,
It captures the number of clientssl that's present, from it it looks on the virtuals, if the profile is matching it will show
virtual-name,clientssl
, if the profile is not bound, it will be ,clientssl-name
for x in `tmsh list ltm profile client-ssl one-line |awk -F" " '{ print $4 }'` ; do virtual=`tmsh list ltm virtual one-line |grep $x |awk -F" " '{ print $3 }'`; echo $virtual,$x ; done
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