Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2035
  • Last Modified:

Upgrading IOS from Rom Monitor

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
fpixx
Asked:
fpixx
2 Solutions
 
harbor235Commented:

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
 
tcs_workshopCommented:

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
 
PugglewuggleCommented:
Yes, that's definitely how it's done. Good info, tcs!
Let us know if you have any questions!
Cheers!
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
fpixxAuthor Commented:
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
 
PugglewuggleCommented:
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
 
fpixxAuthor Commented:
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
 
PugglewuggleCommented:
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
 
fpixxAuthor Commented:
And using the Xmodem command ?

0
 
PugglewuggleCommented:
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
 
fpixxAuthor Commented:
0
 
fpixxAuthor Commented:
0
 
PugglewuggleCommented:
No problem!
Cheers!
0

Featured Post

Get Cisco Certified in IT Security

There’s a high demand for IT security experts and network administrators who can safeguard the data that individuals, corporations, and governments rely on every day. Pursue your B.S. in Network Operations and Security and gain the credentials you need for this high-growth field.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now