beautypg.com

H3C Technologies H3C S7500E Series Switches User Manual

Page 113

background image

6-17

[Sysname-luser-ftp] authorization-attribute work-directory chassis2#slot1#flash:/

[Sysname-luser-ftp] service-type ftp

[Sysname-luser-ftp] quit

# Enable FTP server.

[Sysname] ftp server enable

[Sysname] quit

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)):ftp

331 Password required for ftp.

Password:

230 User logged in.

# 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.app to the root directory of the storage medium on the AMB of

the IRF.

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 from PC to the root directory of the storage media of the SMBs of

the IRF (the member ID and slot number of the member device where one SMB resides are both 1; the

member ID and slot number of the member device where another SMB resides are 2 and 0

respectively; the member ID and slot number of the member device where the third SMB resides are 2

and 1 respectively).

copy newest.app chassis1#slot1#flash:/

copy newest.app chassis2#slot0#flash:/

copy newest.app chassis2#slot1#flash:/

# Specify newest.app as the main startup file to be used at the next startup for all the main boards of

the IRF.

boot-loader file newest.app chassis 1 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 chassis 1 slot

0!

boot-loader file chassis1#slot1#flash:/newest.app chassis 1 slot 1 main