1,545 pts.
 How to restore the start-up configuration of a Cisco switch
I have a 2950 Cisco switch, the command that I used is "erase startup-config". After using this command I reloaded the switch and when it asked me to save the changes I said yes. Now whenever I use the switch it does not take me to the user prompt anymore but in fact all I get is switch: I think my switch is at the moment acting as a hub, but I don't need it to act like this anymore. Can you please give me some options/methods in order to rectify the issue?

Software/Hardware used:
ASKED: May 4, 2009  6:53 PM
UPDATED: May 8, 2009  10:24 PM

Answer Wiki:
What has happened is that you have deleted the configuration file that the switch would have used to load while starting up. Now, either you can build the configuration from scratch or try your luck to see if there is any configuration files on any File Transfer Protocol (FTP) server or Non-Volatile Random Access Memory (NVRAM) which you can use to load. You can use copy command to load that file from ftp or NVRAM. Hope this helps
Last Wiki Answer Submitted:  May 8, 2009  10:22 pm  by  BlankReg   12,265 pts.
All Answer Wiki Contributors:  BlankReg   12,265 pts. , Sudhanshu   810 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

The answer from Sudhanshu misses the whole point, that the prompt is switch: (colon, not chevron or hash). This means that the switch is set to manual boot, and has not loaded the IOS image.

You did the command to erase the configuration (factory default restore), but it would normally still boot.

When you get the switch: prompt do the following

type the command

set

look for the MANUAL_BOOT variable, and see if it is set to yes

if it is then do the following command

set MANUAL_BOOT no

do a set command again

you should now see that MANUAL_BOOT=no

Type boot to reload the switch.

Next time you re-power the switch it should continue and boot automatically. If it still fails, or the boot command fails, you need to check that you have a valid IOS image in flash. Post back here if you need further help for that.

By the way, your switch is a switch, never a hub ! It just doesn’t have it’s operating system loaded yet.

 12,265 pts.