Xmodem Console IOS Download Procedure using ROMMON: Difference between revisions

From ITCwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<P style="TEXT-INDENT: -0.5in; MARGIN: 0in 0in 0pt 0.5in; mso-text-indent-alt: -.25in; mso-list: l0 level1 lfo1" class=MsoListParagraphCxSpFirst><B style="mso-bidi-font-weight: normal"><SPAN style="mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><SPAN style="mso-list: Ignore">Step 1.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN></B>Hook up the router:</P>
Xmodem is used for transfering files in a terminal program.
<P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 1in; mso-list: l0 level2 lfo1; mso-add-space: auto" class=MsoListParagraphCxSpMiddle><B style="mso-bidi-font-weight: normal"><SPAN style="mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><SPAN style="mso-list: Ignore">a.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN></B>Connect your workstation to the router via a counsel cable<B style="mso-bidi-font-weight: normal"> </B></P>
 
<P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 1in; mso-list: l0 level2 lfo1; mso-add-space: auto" class=MsoListParagraphCxSpMiddle><B style="mso-bidi-font-weight: normal"><SPAN style="mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><SPAN style="mso-list: Ignore">b.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN></B>Connect to the TFTP server using a crossover cable connected to Fa0/0 on the router.<B style="mso-bidi-font-weight: normal"> </B></P>
==Step 1.==
<P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 1in; mso-list: l0 level2 lfo1; mso-add-space: auto" class=MsoListParagraphCxSpMiddle><B style="mso-bidi-font-weight: normal"><SPAN style="mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><SPAN style="mso-list: Ignore">c.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN></B><B style="mso-bidi-font-weight: normal">Turn on the router. </B></P>
:Hit the break command as the router is loading it's image file (usually CTRL-C).
<P style="TEXT-INDENT: -0.5in; MARGIN: 0in 0in 0pt 0.5in; mso-text-indent-alt: -.25in; mso-list: l0 level1 lfo1" class=MsoListParagraphCxSpMiddle><B style="mso-bidi-font-weight: normal"><SPAN style="mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><SPAN style="mso-list: Ignore">Step 2.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN></B>Connect to the router<B style="mso-bidi-font-weight: normal"> </B></P>
 
<P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 1in; mso-list: l0 level2 lfo1; mso-add-space: auto" class=MsoListParagraphCxSpMiddle><B style="mso-bidi-font-weight: normal"><SPAN style="mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><SPAN style="mso-list: Ignore">a.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN></B>Open HyperTerminal by going to<B style="mso-bidi-font-weight: normal"> </B></P>
==Step 2.==
<P style="MARGIN: 0in 0in 0pt 1in; mso-add-space: auto" class=MsoListParagraphCxSpMiddle><B style="mso-bidi-font-weight: normal"><SPAN style="LINE-HEIGHT: 200%; FONT-SIZE: 10pt; mso-bidi-font-size: 11.0pt">Start / All Programs / Accessories / Communications / HyperTerminal</SPAN> </B></P>
:Once in ROMmon, type in the following commands:
<P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 1in; mso-list: l0 level2 lfo1; mso-add-space: auto" class=MsoListParagraphCxSpMiddle><B style="mso-bidi-font-weight: normal"><SPAN style="mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><SPAN style="mso-list: Ignore">b.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN></B>Name the connection “1”.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Then hit “ok”.<B style="mso-bidi-font-weight: normal"> </B></P>
:::rommon 1> '''xmodem -c''' ''filename''  
<P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 1.5in; mso-list: l0 level2 lfo1; mso-add-space: auto" class=MsoListParagraphCxSpMiddle><B style="mso-bidi-font-weight: normal"><SPAN style="mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><SPAN style="mso-list: Ignore">c.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN></B>Change connection settings to:<B style="mso-bidi-font-weight: normal"> </B></P>
:::Enter
<P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 1.5in; mso-list: l0 level2 lfo1; mso-add-space: auto" class=MsoListParagraphCxSpMiddle><B style="mso-bidi-font-weight: normal"><SPAN style="mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><SPAN style="mso-list: Ignore">d.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN></B>Hit “ok”.<B style="mso-bidi-font-weight: normal"> </B></P>
 
<P style="TEXT-INDENT: -0.5in; MARGIN: 0in 0in 10pt 0.5in; mso-text-indent-alt: -.25in; mso-list: l0 level1 lfo1" class=MsoListParagraphCxSpLast><B style="mso-bidi-font-weight: normal"><SPAN style="mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><SPAN style="mso-list: Ignore">Step 3.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN></B><B style="mso-bidi-font-weight: normal">
==Step 3.==
  <o:p>&nbsp;</o:p>
:::Do not start the sending program yet...
  </B></P>
program load complete, entry point: 0x8000f000, size: 0xcb80
        File size          Checksum  File name
        0 bytes (0x0)        0x0000    -mz.124-1c.bin (invalid)
        0 bytes (0x0)        0x0000    xx.cfg (invalid)
        0 bytes (0x0)        0x0000    (invalid)
        0 bytes (0x0)        0x0000    (invalid)
        0 bytes (0x0)        0x0000    (invalid)
        0 bytes (0x0)        0x0000    (invalid)
        0 bytes (0x0)        0x0000    ig (invalid)
        0 bytes (0x0)        0x0000    ig (invalid)
        0 bytes (0x0)        0x0000    091021-142727 (invalid)
        0 bytes (0x0)        0x0000    (invalid)
 
WARNING: All existing data in flash will be lost!
Invoke this application only for disaster recovery.
Do you wish to continue? y/n  [n]: '''y'''
 
==Step 4.==
::go to '''Transfer / Send File'''
 
==Step 5.==
::Select the file you want to transfer.
 
==Step 6.==
::you will see a grey window, just wait until it is finished.

Revision as of 16:21, 25 November 2009

Xmodem is used for transfering files in a terminal program.

Step 1.

Hit the break command as the router is loading it's image file (usually CTRL-C).

Step 2.

Once in ROMmon, type in the following commands:
rommon 1> xmodem -c filename
Enter

Step 3.

Do not start the sending program yet...

program load complete, entry point: 0x8000f000, size: 0xcb80

        File size           Checksum   File name
        0 bytes (0x0)        0x0000    -mz.124-1c.bin (invalid)
        0 bytes (0x0)        0x0000    xx.cfg (invalid)
        0 bytes (0x0)        0x0000     (invalid)
        0 bytes (0x0)        0x0000     (invalid)
        0 bytes (0x0)        0x0000     (invalid)
        0 bytes (0x0)        0x0000     (invalid)
        0 bytes (0x0)        0x0000    ig (invalid)
        0 bytes (0x0)        0x0000    ig (invalid)
        0 bytes (0x0)        0x0000    091021-142727 (invalid)
        0 bytes (0x0)        0x0000     (invalid)

WARNING: All existing data in flash will be lost! Invoke this application only for disaster recovery. Do you wish to continue? y/n [n]: y

Step 4.

go to Transfer / Send File

Step 5.

Select the file you want to transfer.

Step 6.

you will see a grey window, just wait until it is finished.