Solved

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

Posted on 2009-05-11
7
296 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

In this tutorial I will show you with short command examples how to obtain a packet footprint of all traffic flowing thru your Juniper device running ScreenOS. I do not know the exact firmware requirement, but I think the fprofile command is availab…
It happens many times that access list (ACL) have to be applied to outgoing router interface in order to limit some traffic.This article is about how to test ACL from the router which is not very intuitive for everyone. Below scenario shows simple s…
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…

706 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

19 Experts available now in Live!

Get 1:1 Help Now