BootROM and Host Software Loading
27.2.1 Loading Software Using XMODEM through
Console Port
27.2.1.1 Introduction to XMODEM
XMODEM is a file transfer protocol that is widely used due to its simplicity and good
performance. XMODEM transfers files via Console port. It supports two types of data packets
(128 bytes and 1 KB), two check methods (checksum and CRC), and multiple attempts of
error packet retransmission (generally the maximum number of retransmission attempts is
ten).
The XMODEM transmission procedure is completed by a receiving program and a sending
program: The receiving program sends negotiation characters to negotiate a packet checking
method. After the negotiation, the sending program starts to transmit data packets. When
receiving a complete packet, the receiving program checks the packet using the agreed
method. If the check succeeds, the receiving program sends an acknowledgement character
and the sending program proceeds to send another packet; otherwise, the receiving program
sends a negative acknowledgement character and the sending program retransmits the
packet.
27.2.1.2 Loading BootROM software
The following text mainly describes the BootROM loading process. Follow these steps to
load the BootROM software:
Step 1: enter following command in privileged mode:
Switch#load whole-bootrom xmodem
Downloading BootRom via Xmodem...
XMODEM Receive: Waiting for Sender ...
Step 2: Choose [Transfer/Send File] in the HyperTerminal’s window, as shown in Picture
1-1, and click <Browse> in pop-up dialog box. Select the software you need to download, and
set the protocol to XMODEM, as shown in Picture 1-2.