Configuring connection idle time – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 516

Advertising
background image

49-3

To do…

Use the command…

Remarks

Enter system view

system-view

Enable the FTP server function

ftp server enable

Required
Disabled by default.

z

Only one user can access the device at a given time when the latter operates as an FTP server.

z

Operating as an FTP server, the device cannot receive a file whose size exceeds its storage space.
The clients that attempt to upload such a file will be disconnected with the FTP server due to lack of
storage space on the FTP server.

To protect unused sockets against attacks, the device 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.

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

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.

Advertising