beautypg.com

Upgrading the application programs – H3C Technologies H3C MSR 20-2X[40] User Manual

Page 44

background image

37

File uploaded successfully.

Use the following command to download the startup.cfg file from the server to the router:

tftp 192.168.1.1 get startup.cfg startup.cfg

The file startup.cfg exists. Overwrite it?[Y/N]:y

Verifying server file...

Deleting the old file, please wait...

File will be transferred in binary mode

Downloading file from remote tftp server, please wait...\

TFTP: 1045 bytes received in 0 second(s)

File downloaded successfully.

If a startup.cfg file already exists in the router, the system prompts you whether to overwrite it. You can
type Y or y to overwrite it.

Upgrading the application programs

After setting up the environment, perform the following operations on the device (the application name
is msr.bin for example):
Use the save command to save the current configuration:

save

The current configuration will be written to the device. Are you sure? [Y/N]:y

Please input the file name(*.cfg)[cfa0:/startup.cfg]

(To leave the existing filename unchanged, press the enter key):

Use the dir command to view the application files and the available space of the CF card (ensure that the

CF card has enough space to store a new application):

dir

Directory of cfa0:/

0 drw- - Dec 20 2007 09:18:22 logfile

1 -rw- 22165484 Dec 20 2007 09:18:10 update.bin

2 -rw- 1181 Dec 20 2007 09:42:54 startup.cfg

4 -rw- 22165484 Dec 20 2007 09:42:28 main.bin

252904 KB total (208940 KB free)

File system type of cfa0: FAT16

Download the application msr.bin to the CF card of the device through TFTP:

tftp 192.168.1.2 get msr.bin

File will be transferred in binary mode

Downloading file from remote TFTP server, please wait...\

TFTP: 15054340 bytes received in 34 second(s)

File downloaded successfully.

Use the boot-loader command to set the startup file for the next startup to msr.bin:

boot-loader file cfa0:/msr.bin main

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

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

Use the display boot-loader command to view the startup file information of the device: