Forum Discussion
Daniel_Wolf
MVP
Hi Michael,
this will first search for all FTP profiles (including default FTP profile) , then search all VS that have attached any of the FTP profiles and then list the name of the VS which has an FTP profile attached.
Run in bash:
for FTPprofile in $(tmsh list ltm profile ftp one-line | awk '{ print $4 }'); do tmsh list ltm virtual one-line | grep -E $FTPprofile | awk '{ print $3 }' ; done
KR
Daniel
Daniel_Wolf
Feb 11, 2021MVP
Hi Michael,
yes, those should be all the VS with a FTP profile.
KR
Daniel