Solved

Upgrading IOS from Rom Monitor

Posted on 2008-10-13
12
1,995 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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
 
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
 
LVL 12

Expert Comment

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

Featured Post

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
The Cisco RV042 router is a popular small network interfacing device that is often used as an internet gateway. Network administrators need to get at the management interface to make settings, change passwords, etc. This access is generally done usi…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

724 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