Command Manual (For Soliton) – FTP-SFTP-TFTP
H3C S3100 Series Ethernet Switches
Chapter 1 FTP and SFTP Configuration
Commands
1-5
By default, the FTP server function is disabled on the H3C S3100 series switch to avoid
potential security risks.
Note:
To protect unused sockets from being attacked by malicious users, the H3C S3100
series Ethernet switch provides the following functions:
z
TCP 21 is enabled only when you start the FTP server.
z
TCP 21 is disabled after you shut down the FTP server.
Related commands:
display ftp-server
.
Examples
# Enable the FTP server.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ftp server enable
% Start FTP server
1.1.5 ftp timeout
Syntax
ftp timeout
minutes
undo ftp timeout
View
System view
Parameters
minutes:
Idle timeout time (in minutes), in the range 1 to 35791.
Description
Use the
ftp timeout
command to set the idle timeout time of an FTP client. When the
idle time of the FTP client exceeds this timeout time, the FTP server terminates the
connection with the FTP client.
Use the
undo ftp timeout
command to restore the default idle timeout time.
By default, the idle timeout time is 30 minutes.
If an FTP connection between an FTP server and an FTP client breaks down
abnormally, but the FTP server cannot be aware of this, the FTP server will keep this
connection. This will occupy system resources and affect other FTP users’ log in. You