Solved

Upgrading IOS from Rom Monitor

Posted on 2008-10-13
12
1,966 Views
Last Modified: 2008-10-19
Hi,

I have a cisco 4510R that always boots in rom monitor. The actual IOS is not suported by the 2 supervisors so ia have a new ios to upgrade.

I need to know how to do it from rom monitor.

Thanks,

Filipe
0
Comment
Question by:fpixx
12 Comments
 
LVL 32

Expert Comment

by:harbor235
ID: 22704213

Use another system (4500) to add the new IOS to a flash card, then insert it back in the 4510R you are upgrading. If the flash card is in slot0: then from rommon enter the following;

rommon > boot slot0:<new_ios_image_here>

If you do not have another 4500 you may have to do this from xmodem, this could take aawhile;

http://www.cisco.com/en/US/products/hw/routers/ps259/products_tech_note09186a008015bfac.shtml


harbor2353 ;}
0
 

Assisted Solution

by:tcs_workshop
tcs_workshop earned 50 total points
ID: 22707025

Hi this might help.

If the flash image is gone, you can use tftpdnld to put the IOS on the switch:
In rommon, you need to set the following variables:
IP_ADDRESSIP address for the switch you are using.
IP_SUBNET_MASKSubnet mask for the switch you are using.
DEFAULT_GATEWAYDefault gateway for the switch you are using (not required if the TFTP server is in the same subnet as the switch).
TFTP_SERVERIP address of the server from which you want to download the image file.
TFTP_FILEName of the file that you want to download.
For example:
rommon 1> IP_ADDRESS=172.15.19.11
rommon 2> IP_SUBNET_MASK=255.255.255.0
rommon 3> DEFAULT_GATEWAY=172.16.19.1
rommon 4> TFTP_SERVER=172.15.20.10
rommon 5> TFTP_FILE=c3620-i-mz.120-4.T
Once you set the above variables, you can type the tftpdnld command and press "y" to proceed:
rommon 6>tftpdnld
Do you wish to continue? y/n: y
Make sure you have your TFTP server running and the IOS image in the root of the TFTP server's folder.
Reload the switch and it should come up with the new IOS.

Using the tftpdnld Command
The tftpdnld command downloads a Cisco IOS software image from a remote server into Flash memory using TFTP.
tftpdnldBegins the TFTP copy command.

The following variables are required:
 
IP_ADDRESSThe IP address for the router you are using.

IP_SUBNET_MASKThe subnet mask for the router you are using.

DEFAULT_GATEWAYThe default gateway for the router you are using.

TFTP_SERVERThe IP address of the server from which you want to download the image file.

TFTP_FILEThe name of the file that you want to download.

The following variables are optional:

TFTP_VERBOSEPrint setting. 0=quiet, 1=progress, 2=verbose. The default is 1.

TFTP_RETRY_COUNTRetry count for ARP and TFTP. The default is 7.

TFTP_TIMEOUTOverall timeout of the download operation in seconds. The default is 2400 seconds.

TFTP_CHECKSUMPerforms a checksum test on the image. 0=no, 1=yes. The default is 1.
The syntax for specifying the variables is:
VARIABLE_NAME=value
 
After you specify the variables, you must reenter the tftpdnld command. For example:
rommon 1 > tftpdnld
rommon 2 > IP_ADDRESS=172.15.19.11
rommon 3 > IP_SUBNET_MASK=255.255.255.0
rommon 4 > DEFAULT_GATEWAY=172.15.19.1
rommon 5 > TFTP_SERVER=172.15.20.10
rommon 6 > TFTP_FILE=/tftpboot/c2600-i-mz
rommon 7 > TFTP_VERBOSE=1
rommon 8 > tftpdnld
 
     IP_ADDRESS=172.15.19.11
     IP_SUBNET_MASK=255.255.255.0
     DEFAULT_GATEWAY=172.15.19.1
     TFTP_SERVER=172.15.20.10
     TFTP_FILE=/tftpboot/2600-i-mz
     TFTP_VERBOSE=1
 
Invoke this command for disaster recovery only.
WARNING: all existing data in flash will be lost!
Do you wish to continue? y/n: [n]:
 
Enter y to begin downloading the Cisco IOS software image. When the process is complete, the ROM monitor mode prompt displays on your screen.

0
 
LVL 12

Expert Comment

by:Pugglewuggle
ID: 22708652
Yes, that's definitely how it's done. Good info, tcs!
Let us know if you have any questions!
Cheers!
0
 

Author Comment

by:fpixx
ID: 22709842
Hello,

Thanks for the quick answer.

The rommon bios doesn't recognized the tftpdnld command.

I think ( because didn't tryed yet ) it will accept the dnld command.

I think this command will download the image using the rs232 interface. How do i prepare the rommon to use the dnld command and the TFTP Server ( my laptop with solarwinds ) ?

0
 
LVL 12

Expert Comment

by:Pugglewuggle
ID: 22709869
Hmmm... what version rommon are you using?
One other thing - try the tftpdnld command several times - sometimes rommon is funny and doesn't take it the first few times.
Cheers!
0
 

Author Comment

by:fpixx
ID: 22709997
I have tryed that. Doesn't work. I read it that if i do a reboot it will download the IOS..

rommon 2 >IP_ADDRESS=10.255.0.18
rommon 3 >IP_SUBNET_MASK=255.255.0.0
rommon 4 >TFTP_SERVER=10.255.0.17
rommon 5 >TFTP_FILE=cat4500-ipbase-mz.122-46.SG.bin
rommon 6 >tftpdnld

 monitor: command "tftpdnld"  not found
rommon 7 >TFTPDNLD

 monitor: command "TFTPDNLD"  not found
rommon 8 >tftpdnld

 monitor: command "tftpdnld"  not found

I'm connecting to one supervisor with a console cable and to the management ethernet port to my laptop that have the TFTP server. Is this the correct procedure ?



####### ######  ######  ####### ######    ###
#       #     # #     # #     # #     #   ###
#       #     # #     # #     # #     #   ###
#####   ######  ######  #     # ######     #
#       #   #   #   #   #     # #   #
#       #    #  #    #  #     # #    #    ###
####### #     # #     # ####### #     #   ###

Unsupported chassis type 53, system can not boot
Rebooting in 10 seconds...
10  09  08  07  06  05  04  03  02  01






 **********************************************************
 *                                                        *
 * Welcome to Rom Monitor for WS-X4516-10GE System.       *
 * Copyright (c) 2003-2006 by Cisco Systems, Inc.         *
 * All rights reserved.                                   *
 *                                                        *
 **********************************************************

 Rom Monitor Program Version 12.2(31r)SGA1
 Supervisor: WS-X4516-10GE  Chassis: WS-C4510R-E
 Hardware Revisions - Board: 4.13 CPLD Tie: 32 FPGA Pod: 14
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 12

Expert Comment

by:Pugglewuggle
ID: 22710010
That definitely sounds like the right procedure...
If you have active SmartNET, contact Cisco TAC and ask for a rommon upgrade for your sups.
Cheers!
0
 

Author Comment

by:fpixx
ID: 22710059
And using the Xmodem command ?

0
 
LVL 12

Expert Comment

by:Pugglewuggle
ID: 22710072
I suppose you could try using the xmodem command, but I'll tell you right now that tftpdnld should be supported on a 12.2 rommon image bootstrap... It's worked ever since 12.0... there's no reason it shouldn't work on your sup.
0
 

Accepted Solution

by:
fpixx earned 0 total points
ID: 22712930
0
 

Author Comment

by:fpixx
ID: 22712999
0
 
LVL 12

Expert Comment

by:Pugglewuggle
ID: 22713241
No problem!
Cheers!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This tutorial will go through the steps required to write a script that will back up the configuration settings of a HP-ProCurve switch. You will need to get the following things to follow this tutorial: Telnet Scripting Tool e.g. TST10.exe …
Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now