Solved

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

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

Title # Comments Views Activity
Ensuring all VLANs/subnets are covered in VA & industry practices 5 95
EIGRP Full Mesh 2 79
DHCP Server 14 85
2 routers and 1 public IP Address. 10 40
This article is a guide to configure bridging on Cisco Routers.  This is something I never knew was possible until after making a few phone calls to Cisco.  Using bridging saved our company money by not requiring us to purchase a new switch.  Bridgi…
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
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…

776 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