Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Cisco Router backup

Thread Tools
 
Search this Thread
 
Old 22 July 2002, 01:12 PM
  #1  
DominicA
Scooby Regular
Thread Starter
 
DominicA's Avatar
 
Join Date: Aug 2000
Posts: 1,771
Likes: 0
Received 0 Likes on 0 Posts
Question

hello, can anyone tell me the easiest way of backing up a cisco router config and flash to a PC....

have looked on cisco site but not found anything yet
Old 22 July 2002, 01:16 PM
  #2  
ids
Scooby Regular
 
ids's Avatar
 
Join Date: May 1999
Posts: 424
Likes: 0
Received 0 Likes on 0 Posts
Post

Get the Cisco TFTP server down from their site and use the command 'copy run tftp' and 'copy flash tftp'

Alt if you have linux or Solaris find your own !

Very useful and scriptable...

Ids

Old 22 July 2002, 01:25 PM
  #3  
carl
Scooby Regular
 
carl's Avatar
 
Join Date: May 1999
Posts: 7,901
Likes: 0
Received 0 Likes on 0 Posts
Post

Or use the PumpKIN TFTP server which is (a) small and (b) works well.

OTOH if you want the 'simplest' method (and you've only got a few routers) then 'sh run' and cut-n-paste the results into Notepad works well too

[Edited by carl - 7/22/2002 1:27:40 PM]
Old 22 July 2002, 01:30 PM
  #4  
dsmith
Scooby Regular
 
dsmith's Avatar
 
Join Date: Mar 1999
Posts: 4,518
Likes: 0
Received 0 Likes on 0 Posts
Post

You'll need a CCO login to download Cisco's TFTP server. however, I ( and several others I know) have had problems with the cisco TFTP server for large files over 10mb or so. There are plenty of other freebie TFTP servers about for Windows. Do a search on Google if you need to find an alternative.

Deano

Old 22 July 2002, 01:32 PM
  #5  
carl
Scooby Regular
 
carl's Avatar
 
Join Date: May 1999
Posts: 7,901
Likes: 0
Received 0 Likes on 0 Posts
Thumbs up

http://www.klever.net/kin/pumpkin.html
Old 22 July 2002, 05:38 PM
  #6  
DominicA
Scooby Regular
Thread Starter
 
DominicA's Avatar
 
Join Date: Aug 2000
Posts: 1,771
Likes: 0
Received 0 Likes on 0 Posts
Thumbs up

thanks chaps, have successfully got the router talking to the German stock exchange and now backed up... many thanks again
Old 22 July 2002, 05:45 PM
  #7  
dsmith
Scooby Regular
 
dsmith's Avatar
 
Join Date: Mar 1999
Posts: 4,518
Likes: 0
Received 0 Likes on 0 Posts
Post

Don't forget to "copy running start" aswell (or "wr mem" for the those still living with IOS 10.0 )

Deano
Old 22 July 2002, 05:46 PM
  #8  
carl
Scooby Regular
 
carl's Avatar
 
Join Date: May 1999
Posts: 7,901
Likes: 0
Received 0 Likes on 0 Posts
Post

'wr' is much better -- only two characters
Old 22 July 2002, 06:39 PM
  #9  
DominicA
Scooby Regular
Thread Starter
 
DominicA's Avatar
 
Join Date: Aug 2000
Posts: 1,771
Likes: 0
Received 0 Likes on 0 Posts
Question

is running start the same as startup-config ???
Old 22 July 2002, 07:30 PM
  #10  
roadrunner
Scooby Regular
 
roadrunner's Avatar
 
Join Date: May 2001
Posts: 730
Likes: 0
Received 0 Likes on 0 Posts
Post

running is the config in memory while start config is the written (saved) config.
Old 22 July 2002, 08:08 PM
  #11  
dsmith
Scooby Regular
 
dsmith's Avatar
 
Join Date: Mar 1999
Posts: 4,518
Likes: 0
Received 0 Likes on 0 Posts
Post

Or to expand slightly further....

When you configure a Cisco router the running config is stored in DRAM (normal PC style memory). If you power-cycle the router that config will be lost and you will have to start again. To Store it on the router, you need to copy the running config to something more permanent. This would be (in most cases) "NVRAM". The config used for sarting the router is set by the system to be the file "startup-config" in NVRAM.

Hence "copy running start" is short for "copy running-config startup-config" which will ensure that when net started the router will be in the same state as it is now. You have also taken the sensible step of copying the config to a central store aswell. "copy running-config tftp" so that if hardware breaks etc and your config on the current router is lost - you can simply copy it back again.

Most routers also have "flash" memory. This is either flash memory on the main board or additional flash PCMCIA cards. (More recently they are starting to use ATA flash disks.). These can be used to store copies of the config (e.g. in case you want to back out several changes) or more usually the IOS image used for the router.

This is the software the router is actually running and for Cisco routers you have lots (and lots) of options. Its also a "good" idea to copy the IOS image file to somewhere safe aswell.

to do this, do "dir" - find the filename. then copy <flash-device>:<filename> tftp

The flash device would for a small router normally be just "flash".

With the range of cisco products there are exeptions and additions to all of this (bootflash blah blah) but thats the basics.

See http://www.cisco.com/univercd/cc/td/...htm#xtocid2106 for a fuller (better) explanation.

Deano

Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
alcazar
Computer & Technology Related
7
17 September 2015 10:08 PM
roadrunner
Non Scooby Related
7
14 December 2001 12:19 PM
vmax
Non Scooby Related
2
24 August 2001 07:53 PM
vmax
Non Scooby Related
4
09 August 2001 06:20 PM



Quick Reply: Cisco Router backup



All times are GMT +1. The time now is 10:29 AM.