beautypg.com

Maintaining and debugging an ftp connection, Terminating an ftp connection, Ftp client configuration example – H3C Technologies H3C SecPath F1000-E User Manual

Page 136: Network requirements

background image

6

Maintaining and Debugging an FTP Connection

After a device serving as the FTP client has established a connection with the FTP server (For how to

establish an FTP connection, refer to

Establishing an FTP Connection

.), you can perform the following

operations to locate and diagnose problems encountered in 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
device acts as the FTP client

debugging

Optional
Disabled by default

Terminating an FTP Connection

After the device serving as the FTP client has established a connection with the FTP server (For how to
establish an FTP connection, refer to

Establishing an FTP Connection

.), you can use any of the following

commands to terminate 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

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 2

, 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 startup 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.