Forum Discussion
FTP via F5
Hi Kees,
3. Is there a quick way to determine whether any existing virtual server(s) in an F5 load balancer is configured to use an FTP profile?
(related article: https://support.f5.com/csp/article/K20984059)
Regards,
Michael Feliciano
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
- Michael_FelicianoFeb 11, 2021Cirrus
Hi Daniei,
Thanks for your feedback.
The output below indicates that there are 2 existing virtual servers that have FTP profile(s) attached, right?
[root@LB01:Active:In Sync] config # 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
RD613FTP_VIP
RD614FTP_VIP
Regards,
Michael Feliciano
- Daniel_WolfFeb 11, 2021MVP
Hi Michael,
yes, those should be all the VS with a FTP profile.
KR
Daniel
Recent Discussions
Related Content
* 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