1-2
FTP Configuration
Complete the following tasks to configure FTP:
Task Remarks
Creating an FTP user Required
Enabling an FTP server Required
Configuring connection idle time Optional
Specifying the source interface and source IP
address for an FTP server
Optional
Disconnecting a specified user Optional
Configuring the banner for an FTP server Optional
FTP Configuration: A
Switch Operating as an
FTP Server
Displaying FTP server information Optional
Basic configurations on an FTP client —
FTP Configuration: A
Switch Operating as an
FTP Client
Specifying the source interface and source IP
address for an FTP client
Optional
FTP Configuration: A Switch Operating as an FTP Server
Creating an FTP user
Configure the user name and password for the FTP user and set the service type to FTP. To use FTP
services, a user must provide a user name and password for being authenticated by the FTP server.
Only users that pass the authentication have access to the FTP server.
Follow these steps to create an FTP user:
To do… Use the command… Remarks
Enter system view
system-view
—
Add a local user and
enter local user view
local-user user-name
Required
By default, no local user is configured.
Configure a password
for the specified user
password { simple | cipher }
password
Optional
By default, no password is configured.
Configure the service
type as FTP
service-type ftp
Required
By default, no service is configured.
Enabling an FTP server
Follow these steps to enable an FTP server:
To do… Use the command… Remarks
Enter system view
system-view
—
Enable the FTP server
function
ftp server enable
Required
Disabled by default.