Ftp Server Enable; Ftp Timeout - H3C S5120-EI Series Command Reference Manual

Fundamentals
Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

By default, no ACL is used to control FTP clients' access to the device.
Associated with an ACL, the FTP server can deny the FTP requests of some FTP clients and only permit the
access of clients allowed by the ACL rules. This configuration only filters the FTP connections to be
established, and has no effect on the established FTP connections and operations. If you execute the
command multiple times, the last specified ACL takes effect.
Examples
# Associate the FTP service with ACL 2001 to allow only the client 1.1.1.1 to access the device through FTP.
<Sysname> system-view
[Sysname] acl number 2001
[Sysname-acl-basic-2001] rule 0 permit source 1.1.1.1 0
[Sysname-acl-basic-2001] rule 1 deny source any
[Sysname-acl-basic-2001] quit
[Sysname] ftp server acl 2001

ftp server enable

Syntax
ftp server enable
undo ftp server
View
System view
Default level
3: Manage level
Parameters
None
Description
Use the ftp server enable command to enable the FTP server and allow the login of FTP users.
Use the undo ftp server command to disable the FTP server.
By default, the FTP server is disabled.
Examples
# Enable the FTP server.
<Sysname> system-view
[Sysname] ftp server enable

ftp timeout

Syntax
ftp timeout minute
undo ftp timeout
View
System view
50

Advertisement

Table of Contents
loading

Table of Contents