H3C Technologies H3C S12500 Series Switches User Manual

Page 83

Advertising
background image

71

User(10.1.1.1:(none)):abc

331 Give me your password, please

Password:

230 Logged in successfully

# Set the file transfer mode to binary.

[ftp] binary

200 Type set to I.

# Download the system software image file newest.bin from PC to Device:

Download system software image file newest.bin from PC to the root directory of the active MPU.

[ftp] get newest.bin

227 Entering Passive Mode (10,1,1,1,10,68).

125 BINARY mode data connection already open, transfer starting for /newest.bin.

226 Transfer complete.

FTP: 23951480 byte(s) received in 95.399 second(s), 251.00K byte(s)/sec.

Download system software image file newest.bin from PC to the root directory of the standby MPU
in slot 1.

[ftp] get newest.bin slot1#flash:/newest.bin

# Upload the configuration file config.cfg of the device to the server for backup.

[ftp] ascii

[ftp] put config.cfg back-config.cfg

227 Entering Passive Mode (10,1,1,1,4,2).

125 ASCII mode data connection already open, transfer starting for /config.cfg.

226 Transfer complete.

FTP: 3494 byte(s) sent in 5.646 second(s), 618.00 byte(s)/sec.

[ftp] bye

221 Server closing.

# Specify newest.bin as the main system software image file used at 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

The specified file will be used as the main boot file at the next reboot on slot

0!

For the standby MPU (in slot 1):

<Sysname> boot-loader file slot1#flash:/newest.bin slot 1 main

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

The specified file will be used as the main boot file at the next reboot on slot

1!

IMPORTANT:

The system software image file used for the next startup must be saved in the root directory of the
storage medium. If the storage medium is partitioned, the system software image file must be saved in

the first partition. You can copy or move a file to the Flash root directory.

Advertising