300 CHAPTER 12: FILE SYSTEM MANAGEMENT
Table 343 Configuration of the Switch as FTP Client
Table 344 Configuration of the Switch as FTP Server
The prerequisite for normal FTP function is that the Switch and PC are reachable.
Enabling/Disabling FTP
Server
You can use the following commands to enable/disable the FTP server on the
Switch. Perform the following configuration in System View.
Table 345 Enable/Disable FTP Server
FTP server supports multiple users to access at the same time. A remote FTP client
sends request to the FTP server. Then, the FTP server will carry out the
corresponding operation and return the result to the client.
By default, FTP server is disabled.
Configuring the FTP
Server Authentication
and Authorization
You can use the following commands to configure FTP server authentication and
authorization. The authorization information of FTP server includes the top
working directory provided for FTP clients.
Perform the following configuration in the corresponding view.
Table 346 Configure the FTP Server Authentication and Authorization
Device Configuration
Default Description
Switch Log into the remote FTP server directly with the ftp command.
-- You need first get FTP user command and password, and then log into the
remote FTP server. Then you can get the directory and file authority.
PC Start FTP server and make such settings as username, password, authority.
-- --
Device Configuration Default Description
Switch Start FTP server. FTP server is
disabled.
You can view the
configuration information
of FTP server with the
display ftp-server
command.
Configure authentication and
authorization for FTP server.
- Configure username,
password and authorized
directory for FTP users.
Configure running parameters for
FTP server.
- Configure timeout time
value for FTP server.
PC Log into the Switch from FTP client. - -
Operation Command
Enable the FTP server ftp server enable
Disable the FTP server undo ftp server
Operation Command
Create new local user and enter local User View
(System View)
local-user
username
Delete local user (System View) undo local-user [
username
|
all [ service-type ftp ] ]