This section details the steps to configure an FTP profile using the NSX Advanced Load Balancer UI or CLI.
FTP Profile Configuration using UI
Navigate to
.Select System-FTP and click Edit (pencil icon).
Select the App Service Type as FTP.
Click Save.
FTP Profile Configuration using CLI
You can also execute show applicationprofile command in the CLI to access the system-inbuilt application profiles, where the System-FTP profile is available.
The CLI is as follows:
[admin:admin-ctrl-tb2]: > show applicationprofile +-------------------------+---------------------------------------------------------+ | Name | UUID | +-------------------------+---------------------------------------------------------+ | System-Secure-HTTP | applicationprofile-cc7e793e-d860-4a3e-bdca-3d03639dc103 | | System-Secure-HTTP-VDI | applicationprofile-d66f5a0b-9044-4ebb-9049-e0b33c922c6e | | System-HTTP-Horizon-UAG | applicationprofile-c17988b2-cdba-4094-9323-86818b6c58de | | System-HTTP | applicationprofile-c5af211f-0e8d-43d3-9136-df6ae6bad4c6 | | System-SSL-Application | applicationprofile-4f338983-7325-44e2-9362-740ec9787577 | | System-L4-Application | applicationprofile-a76b3cb9-69d1-44e3-9b61-62e78aecf8fe | | System-L4-Horizon-Blast | applicationprofile-085327f2-1ef5-4c9b-a743-68c79db080e1 | | System-L4-Horizon-PCoIP | applicationprofile-379221a0-a3e7-4611-91fe-a6faeb9666d6 | | System-Syslog | applicationprofile-e0cd7ecf-ae82-43a4-8f81-d45a66999950 | | System-DNS | applicationprofile-21b86d60-5a59-4223-b43b-aed40138e075 | | System-FTP | applicationprofile-76b1636a-4016-47a8-91eb-bd641a530dd5 | | L4-wildcard-app | applicationprofile-b2e69b11-60d9-4f3d-9910-071cec054936 | | L4-conn-mirror | applicationprofile-90413dd4-fa34-4dcf-8149-0671e2e279df | | new-FTP-profile | applicationprofile-cfac016c-7c91-4e7b-8050-792a25549416 | +-------------------------+---------------------------------------------------------+
[admin:ctrl-tb2]: > [admin:ctrl-tb2]: > show applicationprofile System-FTP +-------------------------------+---------------------------------------------------------+ | Field | Value | +-------------------------------+---------------------------------------------------------+ | uuid | applicationprofile-76b1636a-4016-47a8-91eb-bd641a530dd5 | | name | System-FTP | | type | APPLICATION_PROFILE_TYPE_L4 | | tcp_app_profile | | | proxy_protocol_enabled | False | | proxy_protocol_version | PROXY_PROTOCOL_VERSION_1 | | ssl_client_certificate_mode | SSL_CLIENT_CERTIFICATE_NONE | | ftp_profile | | | deactivate_active | False | | deactivate_passive | False | | preserve_client_ip | False | | preserve_client_port | False | | preserve_dest_ip_port | False | | tenant_ref | admin | | app_service_type | APP_SERVICE_TYPE_L4_FTP | +-------------------------------+---------------------------------------------------------+ [admin:ctrl-tb2]: >
By default, both Active FTP mode and Passive FTP mode are enabled and based on the client FTP connection, settings will switch to either of the modes. You can disable either of the modes in the tcp_app_profile-> ftp_profile
config options from CLI (The UI does not have these configuration option yet), that is,
To deactivate Active FTP mode data connections, you can set deactivate_active to true, and
To deactivate Passive FTP mode data connections, you can set deactivate_passive to true.
Any change of FTP mode settings is applicable for new connections and existing connections will continue to work. It is recommended to create a custom FTP profile rather than modifying the system default FTP profile.
Do not deactivate both Active and Passive modes together; FTP connections will not work.