Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


How do you load an image using "XMODEM"

How do you load an image using "XMODEM"

How do you load an image using "XMODEM"

I have a bad image on a 2621 router.  I did backup the old configuration but I'm not sure about using the XMODEM command.  On the router I type in "xmodem -c c2600-js-mz.120-2.XC2".  The router appears to go through the rest of the steps and then when it asks if I want to continue I type in "yes" and it says it's ready to receive the files.  Then a bunch of "C's" show up and eventually the router times out and aborts the download.  Is there something I'm supposed to do on the workstation in order for xmodem to work properly?

RE: How do you load an image using "XMODEM"

This is for an 800 but it should be pretty close for any X-modem upload

Mike S

Step 1    Increase the router console port baud rate:

router# set baud = 115200

Step 2    Reset the console port:
router# reset

Step 3    Optional. If you want the router console port to continue to run at 115,200 baud after you reboot, you can save the configuration:
router# save

Step 4    Change your host baud rate to 115,200.
For the new baud rate to take effect, you might need to save the new baud rate, exit from the terminal emulator, and establish a new session.
Step 5    Download the software image from the host:
router# upload xmodem

The following is an example of output displayed while the software is downloading:
Ready for X/Modem upload ...

[note: no status bar for xmodem transfers,
abort with Control-X or break]

upload: succeeded (312 seconds).

Step 6    From your host, enter the Xmodem send command for your terminal emulation software.
For example, if you are using HyperTerm, select Transfer > Send File. The Send File dialog box appears. Click Browse to locate the software image. Select XMODEM as the protocol, and click Send.
Step 7    Delete the old software image:
router# delete filename

You must have enough free Flash memory to store the new image. You may need to delete more than one old software image to free up enough Flash memory. To see the names of existing files in Flash memory, use the list command.
Step 8    Save the new software image to Flash memory:
router# save file = filename

where filename is the name of the new software image that was transferred to the router.
Step 9    Boot the new software image:
router# boot

Step 10    Optional. If you do not want the router console port to continue to run at 115,200 baud after you reboot, change your terminal emulation software to run at 9600 baud.


"Diplomacy; the art of saying 'nice doggie' till you can find a rock" Wynn Catlin

RE: How do you load an image using "XMODEM"

Thanks for the help!  That's exactly what I needed.

Now I have one other questions.  When you choose to download an image from Cisco's web site because you want to upgrade to a newer image how do you know which image is for which router.  I think that's what caused my problem originally. I think I downloaded an image for a 2610 with one serial and one ethernet interface to a 2621 router which has two fast ethernet interfaces to a via tftp. ; Then when I rebooted I ended up with all kinds of invalid errors so I ended up in rommon mode.

We are trying to use WCCP with a squid box and I want to upgrade the image on a 2621 to 12.0(5)from 12.0(2).

RE: How do you load an image using "XMODEM"

Cisco has a web page that will step you through the hardware, then the IOS level you want and then the feature set needed. It then dumps you at the correct URL to get the file. It's called "THe IOS Upgrade Planner"


Mike S

"Diplomacy; the art of saying 'nice doggie' till you can find a rock" Wynn Catlin

RE: How do you load an image using "XMODEM"

I went to that page yesterday and it had all the information that I needed.  Thanks for all your help!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close