beautypg.com

H3C Technologies H3C S7500E Series Switches User Manual

Page 111

background image

6-15

c:\> ftp 1.1.1.1

Connected to 1.1.1.1.

220 FTP service ready.

User(1.1.1.1:(none)):ftp

331 Password required for ftp.

Password:

230 User logged in.

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

ftp> get config.cfg back-config.cfg

# Upload the configuration file newest.app to the root directory of the storage medium on the AMB.

ftp> put newest.app

ftp> bye

z

You can take the same steps to upgrade configuration file with FTP. When upgrading the

configuration file with FTP, put the new file under the root directory of the storage medium.

z

After you finish upgrading the Boot ROM program through FTP, you must execute the bootrom

update command to upgrade the Boot ROM.

3) Upgrade

Device

# Copy the startup file newest.app to the root directory of the storage medium on the SMB (in slot 1).

copy newest.app slot1#flash:/

# Specify newest.app as the main startup file to be used at the next startup.

z

Specify newest.app as the main startup file to be used at the next startup for the AMB.

boot-loader file newest.app 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!

z

Specify newest.app as the main startup file to be used at the next startup for the SMB (in slot 1).

boot-loader file slot1#flash:/newest.app 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!

# Reboot the device and the startup file is updated at the system reboot.

reboot

The startup file used for the next startup must be saved under the root directory of the storage medium.

You can copy or move a file to the root directory of the storage medium. For the details of the

boot-loader command, refer to Upgrading Software Commands in the Fundamentals Command

Reference.