beautypg.com

Upgrading the application programs – H3C Technologies H3C MSR 20-1X User Manual

Page 46

background image

39

Sending file to remote tftp server. Please wait... \

TFTP: 1045 bytes sent in 0 second(s).

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)[flash:/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 flash:/

0 -rw- 15801497 Jan 01 2007 00:14:35 main.bin

1 -rw- 9187 Jan 01 2007 00:12:23 config.cwmp

2 -rw- 139 Jan 01 2007 00:05:39 system.xml

3 -rw- 800 Jan 01 2007 00:12:28 startup.cfg

31369 KB total (15921 KB free)

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 flash:/msr.bin main

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

This manual is related to the following products: