Introduction to xmodem, Loading a boot rom file – H3C Technologies H3C S5120 Series Switches User Manual

Page 55

Advertising
background image

47

Enter your choice(0-9):
The items in the Boot ROM menu are described in

Table 16

.

NOTE:

Currently, Boot ROM files are not provided separately by the S5120-SI Switch Series; instead, they are
stored together with boot files in the files with the name extension of .bin.

The procedures for loading Boot ROM files and boot files are similar except that you need to select
different items (1 for loading boot files, and 6 for loading Boot ROM files) in the Boot ROM menu. This

document takes the loading of Boot ROM files as examples.

Loading files by using XMODEM through the console port

Introduction to XMODEM

XMODEM is a file transfer protocol widely used for its simplicity. XMODEM transfers files through the

console port, supporting data packets of 128 bytes. With respect to reliability, it supports checksum, CRC,

and the error packet retransmission mechanism. Normally, the maximum number of retransmission

attempts is 10.
XMODEM transfer is completed by receiving and sending programs together. Receiving program
initiates packet checking method negotiation by sending the negotiation character. If negotiation passes,

the sending program starts packet transfer. Upon receipt of a complete packet, the receiving program

checks it using the agreed-upon check method. If the check succeeds, the receiving program sends an

acknowledgement character; if the check fails, it sends a reject character. Upon receipt of the

acknowledgement, the sending program continues to send the next packet; upon receipt of the reject, it

retransmits the packet.

Loading a Boot ROM file

Complete the following tasks to load a Boot ROM file by using XMODEM through the console port. For

more information about the HyperTerminal, see the chapter “Initial power-on” (page

37

).

Task Remarks

Enter the Boot ROM update menu on the switch

Enter the protocol parameter setting menu

Configure the switch to download files by using
XMODEM

Required
Log in to the switch through the HyperTerminal and
then configure the protocol used for loading files.

Set the download rate of the console port on the
switch

Required
Log in to the switch through the HyperTerminal and
then set the download rate of the console port on the

switch.

Change the rate of the serial port on the terminal

Optional
Set the baud rate of the serial port on the terminal to be
consistent with that of the console port on the switch.

Establish a connection between the terminal and the
switch by using the changed rate

Optional

Uploading a boot file from the terminal to the switch

Required
Transmit a file from the terminal to the switch by using

the changed connection rate.

Advertising