cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5625
Views
0
Helpful
5
Replies

Missing commands in rommon - not able to load new ios image

RobCannon3691
Level 1
Level 1

Hello, 

 

Total noob here.  Just got a C4948 switch and while I was trying to restore to factory defaults I deleted the OS.  I am in rommon version 12.2.  I then setup a tftp server with SolarWinds and am able to ping it successfully from rommon per following these instructions.  I tried to run 

boot tftp://192.168.10.2/cat4500-ipbasek9-mz.150-2.SG11.bin

which gave a timeout error.  I then just listed my available commands in rommon and I am not seeing tftpdnld or xmodem.  This is all I have with "?"

rommon 50 >?
 alias              set and display aliases command
 boot               boot up an external process
 clear              clear configurations, use 'clear help' for more info
 confreg            configuration register utility
 dev                list the device table with physical device information
 dir                list filesystem information
 help               monitor builtin command help
 history            monitor command history
 macstats           print management port MAC statistics counters
 meminfo            main memory information
 ping               ping utility to determine network connectivity
 repeat             repeat a monitor command
 reset              system reset
 set                show/set environment vars, use 'set help' for more info
 sprom              serial eprom operations
 sysret             print out info from last system return
 unalias            unset an alias
 unset              unset a monitor variable
 version            display Rom Monitor version information

and this is what environment variables I have 

rommon 51 >set
 PS1=rommon ! >
 ConfigReg=0x0102
 RommonVer=12.2(31r)SGA7
 IP_SUBNET_MASK=255.255.255.0
 Gateway=192.168.10.1
 IpAddr=192.168.10.3
 Netmask=255.255.255.0
 Broadcast=192.168.10.255
 TFTP_SERVER=192.168.10.2
 TFTP_FILE=cat4500-ipbasek9-mz.150-2.SG11.bin
 DEFAULT_GATEWAY=192.168.10.1
 IP_ADDRESS=192.168.10.3

Did I brick my router?  Is there a way I can restore it?  It doesn't have a USB input so I can't load the image manually and I haven't found another way.  Also running dir slot0: says that the device has been taken out or removed.  Also running dir bootflash: shows everything is empty.  

 

EDIT:

I tried to set the configuration register to 0x2101 via the command "confreg 0x2101" and nothing changes in the env vars.  I also tried resetting via confreg and following the options to change the boot charectoristics and ignore system info and still am not able to get out of configuration register 0x101. 

 

All help much appreciated. 

1 Accepted Solution

Accepted Solutions

Thank you for the help. I got it working. It occurred to me that I pinging the tftp wasn't enough, I had to open port 69 on the firewall to get it loaded. 

 

Just got it running.  Thank you so much for your time. 

View solution in original post

5 Replies 5

balaji.bandi
Hall of Fame
Hall of Fame

You can use Terminal to restore the IOS image

 

follow below URL :

 

https://www.cisco.com/c/en/us/support/docs/switches/catalyst-4000-series-switches/24061-149.html

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

 

The link is not working, or what is wrong ?

 

have you followed the steps mentioned that link ?

 

 

https://www.cisco.com/c/en/us/support/docs/switches/catalyst-4000-series-switches/21229-pswdrec-cat4000-supiii-21229.html

 

there is good post  for your reference :

 

https://community.cisco.com/t5/switching/catalyst-4948-problem/td-p/1611842

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Thank you for your help. 

 

The first link is indeed broken to me in chrome.  I just opened it in Edge and it works. I followed it with a few of the confreg configurations it recommended to no avail. 

 

On the second link (the post), I am not able to run the "config-register 0x2101" command as it returns "monitor: command "config-register" not found".  When I simply run confreg and follow the inputs per the post, it uses 0x101 (0x0101 in env vars) and the results don't change. 

 

How do I change the configuration register if it is not accepting "config-register" command?

Thank you for the help. I got it working. It occurred to me that I pinging the tftp wasn't enough, I had to open port 69 on the firewall to get it loaded. 

 

Just got it running.  Thank you so much for your time. 

Review Cisco Networking for a $25 gift card