430 CHAPTER 38: FTP AND SFTP CONFIGURATION
Introduction to SFTP Secure FTP (SFTP) is established based on an SSH2 connection. It allows a remote
user to log in to a switch to manage and transmit files, providing a securer
guarantee for data transmission. In addition, since the switch can be used as a
client, you can log in to remote devices to transfer files securely.
FTP Configuration
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.
Enabling an FTP server
n
■ Only one user can access the Switch 4210 at a given time when the latter
operates as an FTP server.
Tabl e 326 FTP configuration tasks
Item Configuration task Description
“FTP Configuration: A Switch
Operating as an FTP Server”
“Creating an FTP user” Required
“Enabling an FTP server” Required
“Configuring connection idle
time”
Optional
“Configuring the banner for
an FTP server”
Optional
“Displaying FTP server
information”
Optional
“FTP Configuration: A Switch
Operating as an FTP Client”
“Basic configurations on an
FTP client”
-
Tabl e 327 Create an FTP user
Operation Command Description
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.
Tabl e 328 Enable an FTP server
Operation Command Description
Enter system view system-view -
Enable the FTP server function ftp server enable Required
Disabled by default.