88
To do… Use the command…
Remarks
Use another username to re-log in after
successfully logging in to the FTP server
user username [ password ] Optional
Maintaining and debugging an FTP connection
After a switch serving as the FTP client has established a connection with the FTP server, you can 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."
To do…
Use the 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, you can use
any of the following commands to terminate an FTP connection. For more information about establishing
an FTP connection, see "Establishing an FTP connection."
To do… Use the command…
Remarks
Terminate the connection to the FTP server
without exiting FTP client view
disconnect
Optional
Equal to the close command.
Terminate the connection to the FTP server
without exiting FTP client view
close
Optional
Equal to the disconnect
command.
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 command.
FTP client configuration example
Network requirements
• As shown in Figure 27, 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.