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?

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.

| improve this answer | |
  • 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 Oct 8 '16 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 Oct 8 '16 at 14:40
  • What if I have a lot of switches, new switches and each one wants to set up the same way? – Perkaman Oct 8 '16 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 Oct 8 '16 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 Oct 8 '16 at 14:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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