My Cisco  WS-C2948G-GE-TX  will not autoboot

soffcec
soffcec used Ask the Experts™
on
From cold start:

0:00.576482: ig0: 00:18:18:36:40:be is 10.0.10.12
0:00.577209: netmask: 255.255.255.0
0:00.577556: broadcast: 10.0.10.255
0:00.577890: gateway: 10.1.3.254
WS-C2948G-GE-TX bootrom version 6.1(6), built on 2003.09.19 15:52:35
H/W Revisions:    Fin: 2    Ventral: 7    Board: 1
Supervisor MAC addresses: 00:18:18:36:40:80 through 00:18:18:36:40:bf (64 addresses)
Installed memory: 64 MB
Testing LEDs.... done!
rommon 1 >

From set:

rommon 1 > set
PS1=rommon ! >
TftpServer=10.0.10.100
WHICHBOOT=bootflash:cat4000-k8.8-4-2-GLX.bin
DiagBootMode=post
MemorySize=64
ResetCause=20
TmpfsAddr=2197815296
TmpfsSize=12582912
TmpfsDirectorySize=10240
DiagFreePageLimit=12288
AutobootStatus=fail
?=0
CONFIG_FILE=bootflash:switch.cfg
WHICHBOOT=bootflash:cat4000-k8.8-3-2-GLX.bin
ROMVERSION=6.1(6)
rommon 2 >


I belive I have cat4000-k8.8-4-2-GLX.bin in flash but not cat4000-k8.8-3-2-GLX.bin
when I type in boot the switch bootes up and start running normally
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Once booted, can you run "dir" and paste the output here?

Also, to change the boot file, issue the command syntax "set boot system flash device:<filename>"
soffcecManager

Author

Commented:
How do I clear set boot system flash device: ? I did set wrong text into it.

dir say's dir <device>
soffcecManager

Author

Commented:
Well, I was wrong about the filename, but still have the problem

Console> (enable) dir
-#- -length- -----date/time------ name
  1  4662592 --- -- ---- --:--:-- cat4000-k8.8-3-2-GLX.bin

11065920 bytes available (4662720 bytes used)
Bootstrap 4: Exploring New Features

Learn how to use and navigate the new features included in Bootstrap 4, the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.

soffcecManager

Author

Commented:
What is the newest image I can use on this switch ?
So run the following command....

"set boot system flash bootflash:cat4000-k8.8-3-2-GLX.bin"

This should change your boot parameter and allow for autoboot. It appears you get the config from a TFTP server. So, you will then copy the config to your TFTP server so that upon reload, it gets the correct information. Or, you can modify the config on the TFTP server so that it boots correctly.
soffcecManager

Author

Commented:
This did not work , maybe because then BOOT variable is full of trash ?


PS1=rommon ! >
TftpServer=10.0.10.100
DiagBootMode=post
WHICHBOOT=bootflash:cat4000-k8.8-3-2-GLX.bin
MemorySize=64
ResetCause=6
TmpfsAddr=2197815296
TmpfsSize=12582912
TmpfsDirectorySize=10240
DiagFreePageLimit=12288
AutobootStatus=fail
?=0
CONFIG_FILE=bootflash:switch.cfg
WHICHBOOT=cat4000-k8.8-4-2-GLX.bin
BOOT=device:cat4000-k8.8-4-2-GLX.bin[A[A[A[A[A[A[A[A[A,1;device:cat4000-k8.8-4-2-GLX.bin,1;device:cat4000-k8.8-4-2-GLX.bin,1;device:cat4000-k8.8-4-2-GLX.bin,1;device:,1;device:,1;device,1;bootflash:cat4000-k8.8-3-2-GLX.bin,1;
ROMVERSION=6.1(6)
Issue the following commands...

clear boot system all
set boot system flash bootflash:cat4000-k8.8-3-2-GLX.bin
Add the following config line as well...

set boot auto-config bootflash:switch.cfg

If that is your actual config file.
soffcecManager

Author

Commented:
rommon 3 > clear boot system all
Usage: clear boot
rommon 4 > set boot system flash bootflash:cat4000-k8.8-3-2-GLX.bin
Combined new BOOT variable would be too long!
Not changing BOOT variable in NVRAM.
rommon 5 >
These commands need to be run after the switch has booted. So issue the boot command and once in the CatOS, then issue the commands I provided earlier.
soffcecManager

Author

Commented:
The switch is still not booting.
I don't know the name of my .cfg file

Console> (enable) clear boot system all
BOOT variable =
Console> (enable) set boot system flash bootflash:cat4000-k8.8-3-2-GLX.bin
BOOT variable = bootflash:cat4000-k8.8-3-2-GLX.bin,1;
Console> (enable) set boot auto-config bootflash:switch.cfg
CONFIG_FILE variable = bootflash:switch.cfg
Warning: File not found but still added in the auto-config string.
Console> (enable)
There may not be one. Have you done any other configurations on this switch?
soffcecManager

Author

Commented:
No other configuration.
soffcecManager

Author

Commented:
Still not working....
Manager
Commented:
Did add config-register 0x0 and everything started working.
My apologies. I've been in and out of meetings all day and was not able to get back to this. I am glad you got a solution.
soffcecManager

Author

Commented:
Found the solution on http://cisco.com

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial