444 CHAPTER 22: FILE SYSTEM MANAGEMENT
Table484 Configuration of the Switch as FTP Client
Table485 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.
Table486 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 Source IP
Address for FTP Serve
and Client
You can configure source IP address or source interface for the FTP server and FTP
client to enhance service manageability.
Table487 shows the source IP address configuration tasks.
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 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 serverundo ftp server
Table487 Configure source IP address for FTP Server and Client
Operation Command Remarks
Enter system view system-view -
Specify source IP address for the FTP
server
ftp-server source-ip ip-addr Optional
Specify source interface for the FTP
server
ftp-server source-interface
interface-type interface-number
Optional
Use a specified source IP address to
establish a connection with an FTP
server
ftp { cluster | remote-server } source-ip
ip-addr
Optional