Task
Terminate the FTP connection without exiting FTP
client view.
Terminate the FTP connection and return to user
view.
FTP client configuration example
Network requirements
As shown in
PC acts as the FTP server. The IRF fabric and the PC can reach each other. An account with the username
abc and password abc is already configured on the FTP server.
Log in to the FTP server from the FTP client, download the file newest.bin from the FTP server to the FTP
client, and upload the configuration file config.cfg from the FTP client to the FTP server for backup.
Figure 36 Network diagram
Configuration procedure
# Examine the storage medium of the device for insufficiency or impairment. If no sufficient free space is
available, use the delete/unreserved file-url command to delete unused files. (Details not shown.)
# Log in to the server at 10.1.1.1 through FTP.
<Sysname> ftp 10.1.1.1
Trying 10.1.1.1 ...
Connected to 10.1.1.1.
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
User(10.1.1.1:(none)):abc
331 Give me your password, please
Password:
230 Logged in successfully
# Set the file transfer mode to binary.
[ftp] binary
200 Type set to I.
# Download the system software image file newest.bin from the PC to the IRF fabric:
Download the file newest.bin from the PC to the Flash root directory of the master device.
•
[ftp] get newest.bin
Figure
36, the IRF fabric that comprises two member devices acts as the FTP client and the
Command
•
disconnect
•
close
•
bye
•
quit
75
Remarks
Use either command in FTP
client view.
Use either command in FTP
client view.