1

i would like to ask how can i copy running-config from my switch to linux, and a ready configurations (with changed values) back to switch but i dont want to use any ftp server or any other method with IP address. I am connected with device via console cable, the device is "clean" and i am using minicom with configurable connection.
Please correct me if I'm wrong, but when i want send already ready configurations can I use the cp command, where gives a target / dev / ttyS0 ? Do replace the Clean configurations? And does will it work now with the new configuration?

2 Answers 2

0

If you want to transfer the file, then you need to use an IP address.

You could always just use the show running-configuration command, and copy what is in your terminal to a file. Many terminal applications have a capture feature, or you could just copy-and-paste.

9
  • Ye i know about that, but i wonder how can i send it back. So, i can't upload a new config into my switch ? That switch need the adress ip ?
    – Perkaman
    Commented Oct 8, 2016 at 14:39
  • You can paste it into the terminal and it is just like typing it in. Text editors and terminal application are used for this every day.
    – Ron Maupin
    Commented Oct 8, 2016 at 14:40
  • What if I have a lot of switches, new switches and each one wants to set up the same way?
    – Perkaman
    Commented Oct 8, 2016 at 14:40
  • But i want to automate this task later, i just plug in the switch, start up the script and it copy the new config.
    – Perkaman
    Commented Oct 8, 2016 at 14:42
  • I created an application for use in my company. It creates text files for devices configurations, sometimes many devices. The engineers just open the files in a text editor, copy the configurations, and paste the configurations into the terminal application to configure the devices.
    – Ron Maupin
    Commented Oct 8, 2016 at 14:43
0

TFTP server can be used to copy Configuration from device to pc

Install TFTP server on pc and and connect console cable to switch allocate management ip address to switch

#copy running-config TFTP

Can copy Configuration from switch to TFTP server installed on PC

#copy TFTP runing-config

This above command allow us to restore Configuration from TFTP to switch .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.