[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 307
  • Last Modified:

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

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
amigan_99
Asked:
amigan_99
  • 4
  • 3
1 Solution
 
sysreq2000Commented:
The config is just a file that lives on the nvram. Typically you can copy it with tftp.

What router model?
0
 
amigan_99Author Commented:
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
 
sysreq2000Commented:
copy running-config tftp:
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
amigan_99Author Commented:
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
 
sysreq2000Commented:
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
 
amigan_99Author Commented:
Great!
0
 
sysreq2000Commented:
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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now