cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4978
Views
5
Helpful
6
Replies

router configuration backup

salman abid
Level 1
Level 1

Hi guys,

I'm working in a company which is having around 100 sites & its too much difficult to maintain the configuration backups.

sometimes i forgot to take backup after any change

Kindly suggest me some software through which i can centerlize the configuration backup of all routers or the moment there will be a change in configuration it will take automatic backup for that perticular router

I'm looking for a licensed software

6 Replies 6

milan.kulik
Level 10
Level 10

Hi,

you can copy your config to an FTP server automatically each time you save the config.

All you need is a working FTP server with a proper directory structure.

Then you need to configure on your routers:

ip ftp username ...

ip ftp password ...

!

archive

  log config

  logging enable

  logging size 1000

  notify syslog contenttype plaintext

  hidekeys

  path ftp://your_server/router_directory/file_name

  write-memory

!

(This configuration also sends all config changes to Syslog.)

See http://www.cisco.com/en/US/docs/ios/fundamentals/command/reference/cf_a1.html#wp1018716

for details.

HTH,

Milan

can i take backup of cisco router without configuring ftp. is it possible...?

if yes how.?

 

kcnajaf
Level 7
Level 7

Hi Salman,

If your devices support Kron command you could use it for automatic configuration backup.

Please link gives more details on the same.

http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_tech_note09186a008020260d.shtml#ab

Regards

Najaf

EEM works without any software. You just need TFTP server for that

Here is config

E.g Take Router's startup-config backup on 15th of every month.

Now this is a time-based task. So lets dive into the configuration.

1) R1(config)#event manager applet My_router_backup

2) R1(config-applet)#event ?

application        Application specific event

cli                CLI event

config             Configuration policy event

counter            Counter event

env                Environmental event

gold               GOLD event

interface          Interface event

ioswdsysmon        IOS WDSysMon event

none               Manually run policy event

oir                OIR event

resource           Resource event

rpc                Remote Procedure Call event

snmp               SNMP event

snmp-notification  SNMP Notification Event

syslog             Syslog event

tag                event tag identifier

timer              Timer event

track              Tracking object event

As  you can see, you can define different types of events here. like,  Interface events help you monitor a particular interface value (eg.  broadcast received, input rate in bps/pps, output rate in bps/pps etc).  Syslog is the most common and easy, it helps you monitor a particular  syslog msg and as soon as that syslog message appears on a router you  can define an action based on that (dont worry, i will provide an  example of this). I hope by now you may have get some idea as to what an  event does.

We will select timer since our action is not based on any particular event but rather periodic.

2) R1(config-applet)#event timer ?

absolute   Absolute timer event

countdown  Countdown timer event

cron       Cron timer event

Cron entry is composed of 5 fields and written in this form "x x x x x"

1) Min 0-59

2) Hour 0-23

3) Date 1-31

4) Month 1-12

5) Day of week 0-7

Now if i want to say take backup on 15th of every month at 18:00 pm. So lets start from down to up.

1) Min is 00 -> 0

2) Hour is 18 (so enter as it is)

3) Date is 15

4) Month is * (when we cant specify any value, we can simply write * there which would mean no matter which month is it)

5) Day of week * ( we are putting * here since we have already defined the day through date 15, so whichever day it is )

A little bit about "*". It means "from first to last". I will show the example a bit later in this post. Keep reading...

Therefore the cron_entry will be "0 18 15 * *", which mean on 15th of every month at 18:30 pm this action will take place.

2) R1(config-applet)#event timer cron cron_entry "0 18 15 * *"

action 1 cli command "enable"

action 2 cli command "configure terminal"

action 3 cli command "file prompt quiet"

action 4 cli command "end"

action 5 cli command "copy running-config tftp://tftp-server/router-confg"

action 6 cli command "configure terminal"

action 7 cli command "no file prompt quiet"

action 8 cli command "end"

*** Do Rate Helpful Posts***

Jawad

Thanx for the replies

just confirm me one more thing

at most of sites we have cisco 877 router & cisco 1861 router. so this configuration will support that series or is there some ios prerequisite for this configuration????

salman abid
Level 1
Level 1

well thanks for all the replies........... actually i was looking for some server which can help me to make a centerlized data base of configuration for all the switches, routers & firewalls from multiple locations

Your replies also enhance my knowledge

but finally i got some thing that can fullfill my requirments

http://www.solarwinds.com/network-configuration-manager.aspx

its good to centerlize the configuration of all the devices of different vendors

Review Cisco Networking for a $25 gift card