Restore IOS to another switch gives error because of connecting using tftp and assigning an IP

Hi All,

Trying to copy a config from a Production switch to Backup switch that will act as a backup hot spare. I matched the ios correctly and was able to back up the config from Production, however when I restore the config to the backup switch it gives some errors because I am connecting via tftp on port 1 of the backup switch and assigned an address to connect.

Do I have to fix manually or is there a clean way of connecting via tftp and restoring. There is no usb or other connection ports in that back such as using a cross-over. Thanks in advance for you assistance
Who is Participating?

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

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.

You can copy configuration from tftp to flash and after that you can copy backup configuration to running-config.

copy fttp:MyBackup.txt flash:MyBackup.txt
copy flash:MyBackup.txt run

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
nociSoftware EngineerCommented:
After activating the backup in the backup switch the backup switch uses the IP address of the original switch.
jaya31Author Commented:

Thanks all. I restored the switch back to factory defaults deleting all the files in the dir with the exception of the IOS. Also using the commands below, copied over the back config file to the flash and the back from flash to running config. Thanks much.

copy fttp:MyBackup.txt flash:MyBackup.txt
copy flash:MyBackup.txt run
You're welcome.
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

From novice to tech pro — start learning today.