Installing an IOS on a Cisco router or switch

20 pts.
Tags:
Cisco IOS
Cisco router configuration
IOS
Routers
Switches
I would like to know the process of installing an IOS on a cisco router or switch. What are the steps and commands for installing the IOS.
ASKED: July 5, 2010  6:33 PM
UPDATED: July 9, 2010  4:51 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Do you already have a version of IOS on these devices? Assuming you do and the new code is under 32MB in size then use this command:

copy tftp flash:
<cr>

(flash: could be slot0: or disk0: etc… depending on hardware, use dir /all to determine the location of your existing IOS image and the filesystem it resides on).

It will ask for the address of your TFTP server and file name to be copied, enter these followed by <cr> each time.

The image should then copy to your device.

If you do not have a TFTP server try Solarwinds, they have a free one, download and install it.

Then you need to either delete your old image:

delete flash:old_image_name.bin

or change your boot variables to point towards your new version using the command:

boot system flash:new_image_name.bin

This will be different if you do not have an image installed though.

If you don;t have a working IOS on the switch, you will have to use ROMMON mode to upload one.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • RGunther
    I would definately suggest changing the boot variable and reloading to make sure the IOS Image was not corrupted. Its must easier to change back to the old image if its still on your network device. Also the new IOS image is not active until you reboot the device. Ryan Gunther www.onlinetech.com
    650 pointsBadges:
    report
  • Kartikc9
    [...] past month, he’s been scouring IT Answers, answering questions that fall under his expertise: Cisco Routers and Switches, Cisco ASAs, and watchguard firewalls. He’s even helped us out with one of our Windows 7 in [...]
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following