Command Manual – FTP and TFTP
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 FTP and TFTP
Huawei Technologies Proprietary
1-5
Description
Use the
ftp timeout
command to set the connection idle time.
Use the
undo ftp timeout
command to restore the default connection idle time.
If a FTP connection between an FTP server and an FTP client breaks down abnormally,
the FTP server is not acknowledged with this and will keep this connection as usual.
You can set a connection idle time, so that the FTP server considers a FTP connection
to be invalid and terminate it if no data exchange occurs on it in a specific period known
as connection idle time.
Example
# Set the connection idle time to 36 minutes.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] ftp timeout 36
1.1.7 ftp-server source-interface
Syntax
ftp-server source-interface interface-type interface-number
undo ftp-server source-interface
View
System view
Parameter
interface-type
: Type of the source interface.
interface-number
: Number of the source interface.
Description
Use the
ftp-server source-interface
command to specify the source interface for an
FTP server. If the specified interface does not exist, a prompt appears to show the
configuration fails.
Use the
undo ftp-server source-interface
command to cancel the source interface
setting. After you execute this command, the FTP server system decides which
interface will be used for being accessed by FTP clients.
Example
# Specify Vlan-interface2 as the source interface of the FTP server.
<Quidway> system-view
System View: return to User View with Ctrl+Z.