10-24-2022 07:52 AM
Morning everyone,
How do I export a running config and add it to another switch?
I remember, not sure how this person did it but they pretty much wrote the config in notepad one time and was able to import it in the GUI.
What is the best way to go about this or do it through CLI? Is it possible to drag and drop while SSH or Consoled in?
10-24-2022 08:11 AM
Hello,
I don't really work with a GUI, but for the CLI what you're describing sounds like they made a notepad config and copy/pasted into the CLI. Keep in mind they probably changed IP addresses and any settings specific to that device.
-David
10-24-2022 08:25 AM
This is quite easy:
10-24-2022 08:29 AM
Oh I see, so it's as simple as copying the new running config into the CLI and BOOM just like that?
Do you need to be in Conf t or just normal priv?
10-24-2022 08:32 AM
You need to be in priv mode while running the "show run ..." and in config mode when pasting the config into the new switch.
10-24-2022 11:54 AM
Also be careful if you are doing it over ssh/telnet because the configs may terminate your session and lose connection. i would recommend doing console connection if possible. always remember the handy "wr mem" as well!!
10-24-2022 04:08 PM
USB flash drive
10-24-2022 04:11 PM
I connect to the device if you have access, show run - copy to notepad
console to another device (if that device not in the network, fresh build) and paste it, easy way.
or use TFTP as a backup resource.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide