Ftp client configuration example (standalone mode), Network requirements, Configuration procedure – H3C Technologies H3C S12500 Series Switches User Manual

Page 82

Advertising
background image

70

Task Command

Remarks

Terminate the FTP connection without
exiting FTP client view.

disconnect

close

Use either command in FTP
client view.

Terminate the FTP connection and return
to user view.

bye

quit

Use either command in FTP
client view.

FTP client configuration example (standalone mode)

Network requirements

As shown in

Figure 27

, Device and PC are reachable to each other. On PC, an FTP user account has been

created for the FTP client, with the username abc and the password abc.
From Device, download a system software image file from PC for upgrade, and upload the configuration

file to PC for backup.

Figure 27 Network diagram

Configuration procedure

# Examine the storage medium of the device for insufficiency or impairment. If no sufficient free space is

available, use the fixdisk command to fix the storage medium or use the delete/unreserved file-url

command to delete unused files. (Details not shown.)
# Log in to the server through FTP.

<Sysname> dir

Directory of flash:/

0 drw- - Dec 07 2008 10:00:57 filename

1 drw- - Jan 02 2008 14:27:51 logfile

2 -rw- 1216 Jan 02 2008 14:28:59 config.cfg

3 -rw- 1216 Jan 02 2008 16:27:26 backup.cfg

129794 KB total (127362 KB free)

<Sysname> delete /unreserved flash:/backup.cfg

# Download the system software image file from the FTP server.

<Sysname> ftp 10.1.1.1

Trying 10.1.1.1 ...

Press CTRL+K to abort

Connected to 10.1.1.1.

220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user

Advertising