How to restore the start-up configuration of a Cisco switch

1545 pts.
Tags:
Cisco 2950
Cisco switches
Switch configuration
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?

Answer Wiki

Thanks. We'll let you know when a new response is added.

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

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • BlankReg
    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,325 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following