Forum Discussion

Gudalam's avatar
Gudalam
Icon for Nimbostratus rankNimbostratus
Mar 21, 2016

How to find VS with ssl profile name with CLI for version 11.5.1

I have a certificate which is going to expire in few days and we have 100's of virtual servers in our environment, it is becoming difficult to find with GUI tkaing lot of time, can anyone help in finding right command. I tried below commands but no success

 

list ltm virtual one-line |grep "ssl-profile-name" |awk '{print $3,$6}'

 

list /ltm virtual one-line |grep -B 7 "ssl-profile-name"

 

2 Replies

  • tmsh list ltm virtual one-line | grep 'clientssl' | awk '{print $3, $6}'

  • For me it is giving the output with same command. Is the name of the 'clientssl' profile correct ? It should even match the case or you can try with grep -i like:

    tmsh list ltm virtual one-line | grep -i 'clientssl_profile_name' | awk '{print $3, $6}'