61
[Sysname] ftp server dscp 30
ftp server enable
Use
ftp server enable
to enable the FTP server.
Use
undo ftp server
to disable the FTP server.
Syntax
ftp server enable
undo ftp server
Default
The FTP server is disabled.
Views
System view
Default command level
3: Manage level
Examples
# Enable the FTP server.
<Sysname> system-view
[Sysname] ftp server enable
[Sysname]
ftp timeout
Use
ftp timeout
to set the idle-timeout timer for FTP connections.
Use
undo ftp timeout
to restore the default.
Syntax
ftp timeout
minute
undo ftp timeout
Default
The FTP idle-timeout timer is 30 minutes.
Views
System view
Default command level
3: Manage level
Parameters
minute
: Idle-timeout time, in the range of 1 to 35791 minutes.
Usage guidelines
If no packet is exchanged on an FTP connection within the idle-timeout time, the FTP connection is
broken.