beautypg.com

H3C Technologies H3C SecBlade LB Cards User Manual

Page 103

background image

94

# Enable the FTP server.

[LB] ftp server enable

[LB] quit

# Examine the storage space for space insufficiency and delete unused files for more free space.

dir

Directory of flash0:/

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

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

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

3 -rw- 1216 Jan 02 2006 16:27:26 back.cfg

2540 KB total (2511 KB free)

delete /unreserved flash0:/back.cfg

2.

Perform FTP operations from the PC (FTP client):
# Log in to the FTP server at 1.1.1.1 using the username abc and password abc.

c:\> ftp 1.1.1.1

Connected to 1.1.1.1.

220 FTP service ready.

User(1.1.1.1:(none)): abc

331 Password required for abc.

Password:

230 User logged in.

# Download the configuration file config.cfg from LB to the PC for backup.

ftp> get config.cfg back-config.cfg

# Upload the file newest.bin to LB.

ftp> put newest.bin

200 Port command okay.

150 Opening ASCII mode data connection for /newest.bin.

226 Transfer complete.

ftp> bye

221 Server closing.

c:\>

This FTP procedure also applies to upgrading configuration files.

NOTE:

After you finish transferring the BootWare image through FTP, execute the bootrom update command to
upgrade BootWare.

3.

Upgrade LB:
# Specify newest.bin as the main system software image file for the next startup.

boot-loader file newest.bin main

This manual is related to the following products: