Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

upgrading IOS image 1

Status
Not open for further replies.

snootalope

IS-IT--Management
Jun 28, 2001
1,706
US
Hello..

Currnently our Cisco 1751v router is running IOS version 12.2(8)T and I'd like to upgrade it so I can use the Security Device Manager 1.0a What I'm scared of is that it requires DELETING the old IOS image.. this is what cisco's site says to do when begining..

*********

Step 1 Access the router CLI using a Telnet connection or the console port.


Step 2 Delete your old Cisco IOS image from Flash memory, using the following CLI commands, and responding to the prompts as shown:

Router# delete <old IOS image name>
Delete filename [<old IOS image name>]? y
Delete flash:y? [confirm] n
Delete flash:y aborted!
Router# squeeze flash:
Step 3 Copy the Cisco IOS image to the router Flash memory, using the following CLI command:

Router# copy tftp://<tftp server IP address>/<new IOS image name> flash:
When prompted do NOT erase the Flash memory.

Step 4 Reboot the router to use the new Cisco IOS image using the following CLI command:

Router# reload

***************

Isn't that going to erase my entire configuration on there? If not, will I loose any configuration at all when updating the IOS?? I just did my firewall update and I didn't have to delete anything from there so I was just curious if the router's configuration would change at all..

Also, I'm so confused on what IOS I need!! I know I want the latest version but then it asks things like

ENTERPRISE BASE
IP
IP BASE
IP PLUS
IP VOICE
IP/ADSL
IP/ADSL PLUS
IP/ADSL PLUS IPSEC 56
IP/ADSL/FW/IDS PLUS IPSEC 56
IP/ADSL/IPX/AT/IBM PLUS
IP/ADSL/IPX/AT/IBM/FW/IDS PLUS IPSEC 56
IP/ADSL/IPX/AT/IBM/VOICE/FW/IDS PLUS IPSEC 56

How do I know which one I need???

&quot;tis better to remain silent and be thought of as a fool..
then open your mouth and remove all doubt&quot; Mark Twain

&quot;I should of been a doctor..&quot; Me
 
Snoot,

If you have enough memory in your router you don't HAVE to delete the IOS image. You can simply change the boot order of the IOS image. That way you can say use this IOS to boot from if that fails use the old IOS image. I do this all the time so that if the new one fails it will revert to the old IOS that I know is working.

Type the command in order you want the images to boot

(config)#boot system flash c3640-is-mz.122-1.bin
(config)#boot system flash c3640-is-mz.120-1.bin

etc etc

You can confirm this by looking in your config file

notice that I am only running one bin but if I wanted to I could add multiple bins in order. Just type them in the order you want them to boot so if one fails it will kick over to the next one. By default it it can't boot from any of your bins then it will just revert to the boot helper.

#show running-config
Building configuration...

Current configuration : 5155 bytes
!
! Last configuration change at 10:08:29 MST Thu Jul 3 2003
! NVRAM config last updated at 10:05:26 MST Thu Jul 3 2003
!
version 12.2
no service single-slot-reload-enable
service timestamps debug datetime localtime show-timezone
service timestamps log datetime localtime
service password-encryption
service linenumber
!
hostname GLENR-6031
!
boot system flash
boot system flash c3640-is-mz.122-1.bin

If you don't have enough memory in your router to store both IOS versions then yes you would have to delete the old one. You can also delete the old IOS image once you have been running on the new IOS stable for ahwhile. Just good houskeeping.

A good rule of thumb before upgrading or performing any changes on a router is to have a backup of your IOS image and config file. Just setup a tftp server (you can get this free on the Solarwind.net site )

once you have the tftp configured and running and connected to the network you just do a couple of simple commands

#copy startup-config tftp
(this will make a backup of your current config on the tftp server and it's really easy it will prompt you through everything)

If you wanted to restore a config from the tftp server you would reverse the command

#copy tftp startup-config
It will prompt you through everything

then to backup your ios image you just do

#copy flash tftp (it will promt you through the rest)

To load a new image you can throw the new image on the tftp server and say

#copy tftp flash

I hope all of this helps.

Regards,
Dimo
 
right..

the only reason the old IOS is deleted is because there isn't enuff space on ya flash memory to hold both the old and new IOS..

usually, if u've got the right IOS for your platform, it should be safe to upgrade while deleting the old IOS.. it's usually very likley that you will boot on the next reload..

worst case, at least your startup-config file is still intact in the NVRAM, and u can install an emergency IOS via Xmodem...

good luck..
 
ok.. so did the question get answered - Am I going to loose any kind of configurations if the upgrade IS successful? All my mappings and what not? And, how do I know which one i need..there's so many..

******************************
ENTERPRISE BASE
IP
IP BASE
IP PLUS
IP VOICE
IP/ADSL
IP/ADSL PLUS
IP/ADSL PLUS IPSEC 56
IP/ADSL/FW/IDS PLUS IPSEC 56
IP/ADSL/IPX/AT/IBM PLUS
IP/ADSL/IPX/AT/IBM/FW/IDS PLUS IPSEC 56
IP/ADSL/IPX/AT/IBM/VOICE/FW/IDS PLUS IPSEC 56
************************************

&quot;tis better to remain silent and be thought of as a fool..
then open your mouth and remove all doubt&quot; Mark Twain

&quot;I should of been a doctor..&quot; Me
 
Hi

The Cisco website has a thing called 'feature navigator'. If you give it the filename of your IOS it can tell you what you currently have.
Given that information the IOS upgrade planner tool will let you select an IOS that includes those features, along with any others you wish to add. It will also tell you how much memory (RAM and Flash) is needed to load and run the IOS, so you can see if you actually need to delete your current one before loading the new one.

The only snag is that you need to be registered with Cisco as having a support contract.

EB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top