89
Maintaining and debugging an FTP connection
After a switch serving as the FTP client has established a connection with the FTP server, perform the following
operations to locate and diagnose problems encountered in an FTP connection. For more information about
establishing an FTP connection, see “Establishing an FTP connection.”
Task Command
Remarks
Display the help information of FTP-related commands
supported by the remote FTP server.
remotehelp
[ protocol-command ]
Optional.
Enable information display in a detailed manner. verbose
Optional.
Enabled by default.
Enable FTP related debugging when the switch acts as the
FTP client.
debugging
Optional.
Disabled by default.
Terminating an FTP connection
After the switch serving as the FTP client has established a connection with the FTP server, use any of the
following commands to terminate an FTP connection. For more information about establishing an FTP
connection, see “Establishing an FTP connection.”
Task Command
Remarks
Terminate the connection to the FTP server
without exiting FTP client view.
disconnect
Optional.
Equal to the close.
Terminate the connection to the FTP server
without exiting FTP client view.
close
Optional.
Equal to disconnect.
Terminate the connection to the FTP server
and return to user view.
bye
Optional.
Equal to the quit command in FTP client view.
Terminate the connection to the FTP server
and return to user view.
quit
Optional.
Available in FTP client view, equal to the bye.
FTP client configuration example
Network requirements
• As shown in Figure 13, use Device as an FTP client and PC as the FTP server. Their IP addresses are
10.2.1.1/16 and 10.1.1.1/16 respectively. Device and PC are reachable to each other.
• Device downloads a boot file from PC for device upgrade, and uploads the configuration file to PC for
backup.
• On PC, an FTP user account has been created for the FTP client, with the username being abc and the
password being pwd.