H3C Technologies H3C S12500 Series Switches User Manual

Page 89

Advertising
background image

77

[Sysname] quit

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

<Sysname> dir

Directory of flash:/

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

4 drw- - Jan 02 2006 15:20:21 ftp

129794 KB total (127263 KB free)

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

2.

Configure the PC (FTP client):
# Log in to the FTP server through FTP.

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.

ftp> put aaa.bin bbb.bin

# Download the configuration file config.cfg of the device to the PC for backup.

ftp> get config.cfg back-config.cfg

# Upload the configuration file newest.bin to Device.

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:\>

NOTE:

This FTP procedure also applies to upgrading configuration files.

After you finish transferring the Boot ROM image through FTP, execute the bootrom upgrade
command to upgrade the BootROM.

3.

Upgrade Device:
# Copy newest.bin to the root directory of the memory on the standby MPU in slot 1.

<Sysname> copy newest.bin slot1#flash:/

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

{

For the active MPU.

<Sysname> boot-loader file newest.bin slot 0 main

This command will set the boot file of the specified board. Continue? [Y/N]:y

Advertising