I need to copy config from a CISCO switch to a new switch of the exact same model

This should be easy but I would like a refresher just to make sure I have the syntax right. We have a Cisco Switch that has issues and Cisco has agreed to replace. They are sending me the exact same model with a RMA to return the old on. I am assuming that I can backup the old switch to a TFTP server and restore the file onto the new switch. Is this correct? Will I need a console cable? What are the exact cisco commands?
LVL 1
Thor2923Asked:
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.

Steven CarnahanNetwork ManagerCommented:
CLI

Backup

Log into old switch
enter enable mode
     copy running-config tftp:
     Provide IP address of tftp server
     provide name of file
When prompt returns type exit and press return twice

Restore

Log into new switch
enter enable mode
     copy tftp running-config:
     Provide IP address of tftp server
     Provide source file name
Press enter at Destination file name
When prompt returns  type exit and press return

check to be sure the new config works as expected
     wr mem and press enter
When prompt returns type exit and press return

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
Thor2923Author Commented:
thanks, I assume this will bring over our username and passwords and wipe out the cisco cisco password that will come on the "out of the box" switch?
Thor2923Author Commented:
and I will need to boot from a console cable on the new switch to get to the CLI?
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Steven CarnahanNetwork ManagerCommented:
Yes and yes.  It will also bring across the IP so be sure they are not both on the network at the same time or you will get a conflict.
Thor2923Author Commented:
Thanks, I can sleep better tonight! I pretty much knew the procedure but you filled in any blanks I still had
Steven CarnahanNetwork ManagerCommented:
Glad to help.  :)
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
Cisco

From novice to tech pro — start learning today.