[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 316
  • 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_99Network EngineerAuthor 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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
amigan_99Network EngineerAuthor 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_99Network EngineerAuthor 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

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

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