User Guide for FibeAir® IP-20 All-Outdoor Products, CeraOS 10.5
Page 514 of 825
Ceragon Proprietary and Confidential
15.4
Configuring the Internal Ports for FTP or SFTP (CLI)
By default, the following IP-20 ports are used for FTP and SFTP when the IP-20
unit is acting as an FTP or SFTP client (e.g., software downloads, configuration file
backup and restore operations):
•
FTP
–
21
•
SFTP
–
22
To change the port for either protocol, enter the following command in root view:
root> platform management file-transfer port-config protocol
<ftp|sftp> port-number <0-65535>
To display the ports that are currently configured for FTP and SFTP, enter the
following command in root view:
root> platform management file-transfer port-show
These ports are configured globally, rather than per specific operation.
The following sequence of commands displays the current (default) FTP and SFTP
port settings, changes the FTP port to 125 and the SFTP port to 126, and shows
the new FTP and SFTP port settings.
root>platform management file-transfer port-show
Port config table:
==================
File transfer File transfer port
protocol number
=====================================
ftp 21
sftp 22
root> platform management file-transfer port-config protocol
ftp port-number 125
root> platform management file-transfer port-config protocol
sftp port-number 126
root>platform management file-transfer port-show
Port config table:
==================
File transfer File transfer port
protocol number
=====================================
ftp 125
sftp 126
root>