Solved

What is the fastest way to "Ghost" a Cisco router?

Posted on 2009-05-11
7
297 Views
Last Modified: 2012-05-06
Of course one can copy and paste config.  But I find this not to always be efficient as one part of config may be dependent on config further down.  What is the best way to clone a router?
0
Comment
Question by:amigan_99
  • 4
  • 3
7 Comments
 
LVL 11

Expert Comment

by:sysreq2000
ID: 24358176
The config is just a file that lives on the nvram. Typically you can copy it with tftp.

What router model?
0
 
LVL 1

Author Comment

by:amigan_99
ID: 24358464
2811 is the immediate one.  So 'copy tftp nvram' ..and the file name would be "startup-config"?  Is that all?  I see the following in nvra:

vny-c2811-1#sho file information nvram:?
nvram:IOS-Self-Sig#3201.cer  nvram:IOS-Self-Sig#3202.cer  nvram:IOS-Self-Sig#3203.cer  nvram:ifIndex-table
nvram:private-config         nvram:startup-config         nvram:underlying-config


0
 
LVL 11

Expert Comment

by:sysreq2000
ID: 24358630
copy running-config tftp:
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 1

Author Comment

by:amigan_99
ID: 24358704
So the process would be...

On router A (to be cloned) - copy running-conf tftp:  ;copies file to ftp server

On tftp server rename the file to startup-config.

On router B (the new clone) - copy tftp nvram:         ;copy startup-config from tftp server to new router

Reboot router B

Yah?
                                                                                   
0
 
LVL 11

Accepted Solution

by:
sysreq2000 earned 500 total points
ID: 24358800
Yes basically. In the interest of being complete though the actual command would be:

copy running-config tftp <tftp-server-address> <filename>

If I recall you can omit the filename parameter and it will default to running-config anyway, but I could be wrong, it's been a while 8).

Then copy back to the new router:

copy tftp running-config <tftp-server-address> <filename>
0
 
LVL 1

Author Closing Comment

by:amigan_99
ID: 31580304
Great!
0
 
LVL 11

Expert Comment

by:sysreq2000
ID: 24358924
Sorry I should have been saying startup-config, although the above would work, you'd just have to remember to write runing to startup before powering down :)
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

While it is possible to put two routes in place with the secondary having a higher metric, this may not always work. In the event of a failure that does not bring down the physical interface on the router the primary route is not removed. There is a…
There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
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…
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…

910 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now