Link to home
Create AccountLog in
Avatar of Thor2923
Thor2923Flag for United States of America

asked on

changing Cisco 3750 switches and copying over config file

We just had a cisco 3750 switch burn out and we received a replacement. We put the new power supply in the old machine and it works, but I am hoping I can export the running-config, put the power supply back in the new switch and import the config into the new switch without a lot of manual entries. I also hope I can replicate how each individual port is configured so everything can be plugged in as before. Is there an quick and easy way to do this? I have putty up and am able to telnet into the old switch. All advice on how to make this painless is appreicated

Thanks
Avatar of Zephyr ICT
Zephyr ICT
Flag of Belgium image

You can download the config using tftp from the old switch and upload it to the new one...

more info: http://www.cisco.com/en/US/docs/switches/lan/catalyst3750/software/release/12.1_19_ea1/configuration/guide/swiosfs.html#wp1006156
Avatar of Thor2923

ASKER

that requires a TFTP server, can I just use a windows xp workstation for that? That is what I am working off of
ASKER CERTIFIED SOLUTION
Avatar of Zephyr ICT
Zephyr ICT
Flag of Belgium image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Switch# copy tftp://172.16.2.155/tokyo-confg system:running-config
 
This command is to get the file off onto a TFTP server 172.16.2.155?? I have a similer command typed in and it is now asking me for a address or name of remote host   ?? I do not want to write over something on the switch....I am exporting correctly?
On the switch you need to type this:

copy tftp flash

Open in new window

ok that will get what is flash onto a TFTP correct? then do the import?
ok that will get what is flash onto a TFTP correct? then do the import?

Yes, that's correct, it will copy the flash of your switch to the tftp server, then you can upload it to the new switch.

you can also copy the running config like this

copy running-config tftp

Open in new window

ok Thanks and I have the confg file copied off to my laptop (copy running-config tftp), but in the mean time we decided to keep the old switch intact now that we have the power supply and it is working. We will just send the new switch back with the old power supply. But if I did install the new switch and needed to upload, I would just log in with a console cable and the basic cisco defaults and to copy tftp running-config?? that would bring back my passwords and everything?
Yes, just upload the flash and running-config, the password should be encrypted in the config ... Don't forget to make the restored config active by issuing "copy run start"...

You can keep the config for another time.
Avatar of David Akinsanya
You "may" get some minor errors importing the config from one device to another due to checksum differences.

The safest method is to open the config in notepad or wordpad.
Ctrl A, then copy

telnet or ssh into your switch
go to the global config mode
Paste everything you copied.
Wait for all the config to post.
Enjoy
The easiest way is to copy the running config from the old 3750 into notepad and then copy it into the new 3750...as Akinsd has mentioned.

However, if your running config is large I would suggest copy pasting it about 10 lines at a time.  Copying large amounts of config at one time can result in some config or words being left out (from my experience).  Also if you do get an error it is easier to pinpoint which line was not accepted and troubleshoot.
I agree with akinsd. Just use SecureCRT, telnet / ssh into the switch and type
more system:running-config