[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Upgrading IOS from Rom Monitor

Posted on 2008-10-13
12
Medium Priority
?
2,018 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 200 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
When ransomware hits your clients, what do you do?

MSPs: Endpoint security isn’t enough to prevent ransomware.
As the impact and severity of crypto ransomware attacks has grown, Webroot has fought back, not just by building a next-gen endpoint solution capable of preventing ransomware attacks but also by being a thought leader.

 

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

Cyber Threats to Small Businesses (Part 1)

This past May, Webroot surveyed more than 600 IT decision-makers at medium-sized companies to see how these small businesses perceived new threats facing their organizations.  Read what Webroot CISO, Gary Hayslip, has to say about the survey in part 1 of this 2-part blog series.

Question has a verified solution.

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

There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

656 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