Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to import text file into Cisco router config.

Posted on 2008-10-02
8
Medium Priority
?
3,584 Views
Last Modified: 2012-05-05
I have a text file of a Cisco router config that I would like to import without having to type out all of the commands.  Is there an easy way to do this?  Thanks!
0
Comment
Question by:tstech248
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 23

Expert Comment

by:that1guy15
ID: 22627127
Most telnet and SSH clients support copy and paste. As long as the commands that are being pasted in are supported you will be good to just copy and paste straght into the command line
0
 

Author Comment

by:tstech248
ID: 22627177
Do I have to wipe the current config?
0
 
LVL 4

Expert Comment

by:damalano
ID: 22627264
yes. Do a write erase.
Connect via console
say no to initial setup. and do a conf t
don't paste everyting at once but part by part.
Make sure to do a no shut on the interfaces you need.

good luck
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:tstech248
ID: 22627354
Does doing a wr erase reset all passwords on it?
0
 
LVL 6

Expert Comment

by:dathho
ID: 22627365
Which model?
If you have ASDM the easiest, most accurate way is to use the built in file manager whereby you can transfer files from/to http, https, ftp server or browse your local computer, or flash.
0
 
LVL 4

Expert Comment

by:damalano
ID: 22627385
yes it wil erase the passwords
default is cisco cisco or blank
0
 
LVL 4

Expert Comment

by:damalano
ID: 22627478
if you don't want to erase you can put some pieces in but chance is that you get wromg statements
0
 
LVL 12

Accepted Solution

by:
Pugglewuggle earned 1500 total points
ID: 22628702
The easiest thing to do is run a TFTP server on your computer and then run a copy tftp startup-config on the device while it is running as normal. Just fill in the questions asked with the correct info and it will copy the config from your PC to the startup-config file on the device.
Then, issue a reload noconfirm command on the device and it will restart and load the config you just transferred with no mucking around with copying, pasting, and formatting, and stuff like that.
Very quick, very easy, and 100% accurate.
Cheers! Let me know if you have any questions!
0

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Concerto Cloud Services, a provider of fully managed private, public and hybrid cloud solutions, announced today it was named to the 20 Coolest Cloud Infrastructure Vendors Of The 2017 Cloud  (http://www.concertocloud.com/about/in-the-news/2017/02/0…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question