Operation Manual – FTP-SFTP-TFTP
H3C S5100-SI/EI Series Ethernet Switches
Chapter 1 FTP and SFTP Configuration
1-4
Note:
To protect unused sockets against attacks, the S5100-SI/EI Ethernet switch provides
the following functions:
z
TCP 21 is enabled only when you start the FTP server.
z
TCP 21 is disabled when you shut down the FTP server.
III. Configuring connection idle time
After the idle time is configured, if the server does not receive service requests from a
client within a specified time period, it terminates the connection with the client, thus
preventing a user from occupying the connection for a long time without performing any
operation.
Follow these steps to configure connection idle time:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure the connection idle
time for the FTP server
ftp
timeout
minutes
Optional
30 minutes by default
IV. Specifying the source interface and source IP address for an FTP server
You can specify the source interface and source IP address for an FTP server to
enhance server security. After this configuration, FTP clients can access this server
only through the IP address of the specified interface or the specified IP address.
Note:
Source interface refers to the existing VLAN interface or Loopback interface on the
device. Source IP address refers to the IP address configured for the interface on the
device. Each source interface corresponds to a source IP address. Therefore,
specifying a source interface for the FTP server is the same as specifying the IP
address of this interface as the source IP address.