Password recovery 2950 is Deleting configuration Why

I am using " Password Recovery Procedure for the Cisco Catalyst Fixed Configuration Layer 2 and Layer 3 Switches"
And after I reset the username and password, then go into config t - all of the changes from my original config.text is not there
its all wiped out.  Why ????   isn't this process only suppose to affect the username and password. ??

config t                                                                    

username admin33 privilege 15 password Cisco45  : I substitute this for enable secret and enable password.  

line vty 0 15
login local

line con 0
login local
end
LVL 1
Bob BrownIT Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JustInCaseCommented:
It should keep original startup configuration. Most likely you skipped to copy original configuration file into the memory prior to save changes
     copy flash:config.text run
or
    copy flash:config.text.old run (if you renamed file according to recommendation rename flash:config.text flash:config.text.old )
That one will upload your original startup file to running configuration.
Password recovery should happen after that step. If you just change password and save configuration and skip copying startup configuration with running configuration, sure, everything will be deleted since you did overwrite startup configuration with empty configuration (except those few lines).
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
nader alkahtaniConsultantCommented:
Following
0
Bryant SchaperCommented:
The process does not do so automatically, are you saving the existing configuration as one of your steps.

The password is part of the configuration file, so once you restart and run flash_init and load_helper you then need to save the config.text on flash, for example rename flash:config.text flash:config.old.  Then you can just rename it back by copy flash:config.old flash:running-config and reset the password to something you know.

Here is the cisco link and steps:

http://www.cisco.com/image/gif/paws/12040/pswdrec_2900xl.pdf
0
Powerful Yet Easy-to-Use Network Monitoring

Identify excessive bandwidth utilization or unexpected application traffic with SolarWinds Bandwidth Analyzer Pack.

Bob BrownIT Author Commented:
After doing this on a Cisco 2950 switch. I figured out what the process does. The Cisco document is a process of steps that stops the prompting of the original username and password You may have forgotten or lost. And then give the technician at the console the ability to enter into Config t mode aka global configuration mode the ability to enter a username and password you have document and know.

switch#copy flash:config.text system:running−config   After the original config.text gets copy Back into memory - There will be no username or pw.
switch#show run  : You will here the contents of your original config.text. The next step will allow you to enter into Config t
Config t
enable secret Cisco34
username admin43 privilege 15 secret Cisco65
end
wr or copy run config
reload   After your reload you will now be able to login to switch with a Username and Password  You Know and Do Not Forget.
0
Bob BrownIT Author Commented:
You helped thanks
0
Bryant SchaperCommented:
Good.  The process takes you back to default, but the config is still present, so when you copy it back in your in enable mode and can change the password.  If you just copied it and logged out  you would be back to square one and not be able to logon again.
0
Bob BrownIT Author Commented:
I already tried it and it for Not do that. Bryant. You are working with the same config.text, and entering additional username and password you now have documented. And if you do a show run you will see the original contents
0
JustInCaseCommented:
show run is irrelevant.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Switches / Hubs

From novice to tech pro — start learning today.