Solved

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

Posted on 2014-03-06
17
600 Views
Last Modified: 2014-03-12
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
0
Comment
Question by:soffcec
  • 10
  • 7
17 Comments
 
LVL 6

Expert Comment

by:Jordan Medlen
ID: 39909305
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>"
0
 

Author Comment

by:soffcec
ID: 39909371
How do I clear set boot system flash device: ? I did set wrong text into it.

dir say's dir <device>
0
 

Author Comment

by:soffcec
ID: 39909492
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)
0
 

Author Comment

by:soffcec
ID: 39909500
What is the newest image I can use on this switch ?
0
 
LVL 6

Expert Comment

by:Jordan Medlen
ID: 39909510
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.
0
 

Author Comment

by:soffcec
ID: 39909522
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)
0
 
LVL 6

Expert Comment

by:Jordan Medlen
ID: 39909542
Issue the following commands...

clear boot system all
set boot system flash bootflash:cat4000-k8.8-3-2-GLX.bin
0
 
LVL 6

Expert Comment

by:Jordan Medlen
ID: 39909547
Add the following config line as well...

set boot auto-config bootflash:switch.cfg

If that is your actual config file.
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:soffcec
ID: 39909686
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 >
0
 
LVL 6

Expert Comment

by:Jordan Medlen
ID: 39909808
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.
0
 

Author Comment

by:soffcec
ID: 39909910
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)
0
 
LVL 6

Expert Comment

by:Jordan Medlen
ID: 39910099
There may not be one. Have you done any other configurations on this switch?
0
 

Author Comment

by:soffcec
ID: 39910136
No other configuration.
0
 

Author Comment

by:soffcec
ID: 39911040
Still not working....
0
 

Accepted Solution

by:
soffcec earned 0 total points
ID: 39913070
Did add config-register 0x0 and everything started working.
0
 
LVL 6

Expert Comment

by:Jordan Medlen
ID: 39913749
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.
0
 

Author Closing Comment

by:soffcec
ID: 39922912
Found the solution on http://cisco.com
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

This article will step through configuring a SonicWALL appliance to utilize an internal DHCP server for Global VPN Client (GVC) hosts.  There are times when using an external (external to the SonicWALL) DHCP server, such as Windows Servers, isn’t pr…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now