cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
34667
Views
5
Helpful
10
Replies

Catalyst 4948 problem

MarcOfBouloc_2
Level 1
Level 1

Hi,

I've followed a process to reset the password on a Catalyst 4948 (http://www.cisco.com/en/US/products/hw/switches/ps663/products_password_recovery09186a00800945f7.shtml) but now the switch doean't want to start.

The message is :

**********************************************************
*                                                         *
* Welcome to Rom Monitor for      WS-C4948  System.       *
* Copyright (c) 2003-2007  by Cisco Systems, Inc.          *
* All rights  reserved.                                    *
*                                                         *
**********************************************************
Rom Monitor Program Version  12.2(31r)SGA1
Supervisor: WS-C4948  Chassis:  WS-C4948
Hardware Revisions - Board: 6.0 CPLD: 5 Dagobah:  226


MAC Address  : 00-1e-be-38-06-ff
Ip  Address   : Not set.
Netmask      :  Not set.
Gateway      : Not  set.
TftpServer   : Not set.
Main Memory  : 256  MBytes
***** The system will autoboot in 5 seconds *****

Type control-C to prevent autobooting.
. . . . .
******** The system will autoboot now ********

config-register = 0x2102
Autobooting using BOOT variable  specified file.....
Could not find a valid file in BOOT environment  variable.
BOOT variable can be set from IOS. To find currently  set
Rom Monitor variables, please type 'set' command.
For help on choosing a boot method,  type 'confreg'  command.
rommon 1 >

Could someone help please?

Thanks in advance.

1 Accepted Solution

Accepted Solutions

glen.grant
VIP Alumni
VIP Alumni

  Try changing the config register to 0x2101 , this will load the first image it finds in flash.  You may be missing a boot statement . Register 0x2102 requires a valid boot statement otherwise it will go into rommom.

View solution in original post

10 Replies 10

Leo Laohoo
Hall of Fame
Hall of Fame

Try the following:

flash_init

boot_helper

And then post the output to the command "dir flash:".

Hi,

Thanks for your help but these commands aren't available.

The available choices are :

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

Thanks in advance.

glen.grant
VIP Alumni
VIP Alumni

  Try changing the config register to 0x2101 , this will load the first image it finds in flash.  You may be missing a boot statement . Register 0x2102 requires a valid boot statement otherwise it will go into rommom.

Hi,

Hourreey !!!

It is impossible to manually set a value to the register. The only way is to use the command confreg.

So, I didn't see the statement " 1 = the first file from internal flash device" but with your help, it works fine now.

Many thanks for your help.

rommon 1 >confreg

Configuration Summary :
=> load rom after netboot fails
=> console baud: 9600
=> autoboot from: commands specified in 'BOOT' environment variable

do you wish to change the configuration? y/n  [n]:  y
enable  "diagnostic mode"? y/n  [n]:  n
enable  "use net in IP bcast address"? y/n  [n]:  n
disable "load rom after netboot fails"? y/n  [n]:  n
enable  "use all zero broadcast"? y/n  [n]:  n
enable  "break/abort has effect"? y/n  [n]:  n
enable  "ignore system config info"? y/n  [n]:  n

change console baud rate? y/n  [n]:  n

change the boot characteristics? y/n  [n]:  y

enter to boot:
0 = disable autoboot
1 = the first file from internal flash device
2 = commands specified in 'BOOT' environment variable
[2]:  1

Configuration Summary :
=> load rom after netboot fails
=> console baud: 9600
=> autoboot from: the first file from internal flash device

do you wish to save this configuration? y/n  [n]:  y
You must reset or power cycle for new configuration to take effect

Regards..

    Marc

For anyone seeing this thread in the future: it's true that you can't manually set the register from rommon, but you don't have to go through the rommon prompts.  If you're in this situation you can just do a "boot" at the rommon prompt to boot the switch, and then set the config-register via "config-register 0x2101" (which I know because I just had to do this on a 4948 today).

Unfortunately i get this solution little bit late i try so many solution and thing with 4948 before i read it ....

 

Please 4948 is stuck on following now ... whereas it was booting manually from rommon   

i did something wrong in the same process now i am getting  the below mention error  when i am selecting the firs file option 

 

rommon 15 >boot= bootflash:cat4500e-entservicesk9-mz.152-2.E7.bin

Error: 'BOOT' can not be set/unset directly.
You can set it only from IOS.
Type 'clear boot' to clear it
rommon 16 >boot bootflash:cat4500e-entservicesk9-mz.152-2.E7.bin
File has bad file magic number: 0x0. Is it a valid file?
boot: can not load "bootflash:cat4500e-entservicesk9-mz.152-2.E7.bin"

Thanks,

I did have a trouble with this switch for a bit and your answer did help!

Thank you for share, It was very helpful, I recovered my Cisco switch following this procedure.

Now, I changed the SW configuration to prevent it from happens again.

Cara um muito obrigado aqui do brasil.
resolveu meu problema.

Review Cisco Networking for a $25 gift card