Upgrading software from the cli – H3C Technologies H3C S7500E Series Switches User Manual

Page 5

Advertising
background image

4

You can download the .app file through FTP or TFTP. The following illustrates how to download through

FTP when the switch serves as the FTP client and a PC serves as the FTP server.

1.

Run the FTP server program on the PC (assume its IP address is 10.10.110.1) and configure the
username, password, and file storage directory.

2.

Download the .app file (newest.app for example) to the active MPU of the switch.
# Log in to the PC through FTP.

<Sysname> ftp 10.10.110.1

Trying ...

Press CTRL+K to abort

Connected to 10.10.110.1

220 3Com 3CDaemon FTP Server Version 2.0

User(10.10.110.1:(none)):username ---Type the username.

331 User name ok, need password

Password: ---Enter the password.

230 User logged in

# Set the file transfer mode to binary.

[ftp] binary

200 Type set to I.

# Download the .app file from the PC to the root directory of the storage medium on the active

MPU.

[ftp] get newest.app

227 Entering Passive Mode (10,10,110,1,17,97).

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

226 Transfer complete.

FTP: 28945856 byte(s) received in 35.974 second(s), 896.00K byte(s)/sec.

[ftp] bye

221 Server closing.

3.

Copy the .app file to the standby MPU of the switch.
# Copy the file newest.app to the root directory of the storage medium on the standby MPU in slot

1.

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

Copy flash:/newest.app to slot1#flash:/newest.app?[Y/N]:y

%Copy file flash:/newest.app to slot1#flash:/newest.app...Done.

NOTE:

You can configure the switch as the FTP server, FTP client, or TFTP client. The transfer processes slightly
vary. For more information about FTP and TFTP, see

Fundamentals Configuration Guide in H3C S7500E

Series Ethernet Switches Configuration Guides.

You can use the transfer procedure described in this section to transfer Boot ROM images, system
software images, and patch files for upgrade from the CLI.

Upgrading software from the CLI

CAUTION:

Make sure the .app file exists in the root directory of the storage medium of the active MPU and the
standby MPU.

Advertising