I believe the 'archive' cmd will only save the config on a config save, not every time the config is changed.
If anyone knows differently I would like to see the solution. Bob -- Sent from my iPhone, please excuse any typos. On Mar 30, 2012, at 7:22 PM, Vijaya Laxmi <[email protected]> wrote: > Hi kim, > > Can you pl provide an example for doing this via archive ? > > Vijaya > > Sent from my ¥brant° > On Mar 30, 2012 1:38 AM, "Kim Pedersen" <[email protected]> wrote: > >> Hi, >> >> Or simply the archive functionality, which provides the features you >> seem to require. >> >> Kim >> >> On Fri, Mar 30, 2012 at 8:04 AM, manoj kaushal <[email protected]> >> wrote: >>> I will suggest you to use rancid >>> >>> On Fri, Mar 30, 2012 at 12:57 AM, Vijaya Laxmi <[email protected]> >> wrote: >>> >>>> Hello, >>>> >>>> I am trying to use EEM to store running-config into flash of router >> every >>>> time someone changes config >>>> >>>> The CATCH is, I want the filename of back up to be dynamic.. based on >>>> "TimestampHostname.Running.**cfg" >>>> >>>> The backup of running config gets stored but filename is WRONG...! >>>> >>>> event manager applet SAVE_CONFIG >>>> event syslog pattern "%SYS-5-CONFIG.*" >>>> action 1.0 cli command "enable" >>>> ACTION 1.1 cli command "show clock" >>>> action 2.0 cli command "show run | redirect flash://$_cli_result.txt" >>>> action 3.0 syslog msg "configuration has been changed" >>>> >>>> I could only get the foll file stored at flash of router:- >>>> >>>> *Mar 29 19:19:14.393: %PARSER-5-CFGLOG_LOGGEDCMD: User:unknown user >>>> logged command:!exec: enable >>>> *Mar 29 19:19:15.585: %HA_EM-6-LOG: SAVE: configuration has been changed >>>> Router# >>>> Router#dir flash: >>>> Directory of flash:/ >>>> 11 -rw- 1292 Mar 29 2012 19:19:14 +00:00 _*redirect.out >>>> *_ >>>> 64012288 bytes total (4603904 bytes free) >>>> >>>> Regards >>>> Vijaya >>>> ______________________________**_________________ >>>> For more information regarding industry leading CCIE Lab training, >> please >>>> visit www.ipexpert.com >>>> >>>> Are you a CCNP or CCIE and looking for a job? Check out >>>> www.PlatinumPlacement.com >>>> >>>> http://onlinestudylist.com/**mailman/listinfo/ccie_rs< >> http://onlinestudylist.com/mailman/listinfo/ccie_rs> >>>> >>> >>> >>> >>> -- >>> Kaushal >>> _______________________________________________ >>> For more information regarding industry leading CCIE Lab training, >> please visit www.ipexpert.com >>> >>> Are you a CCNP or CCIE and looking for a job? Check out >> www.PlatinumPlacement.com >>> >>> http://onlinestudylist.com/mailman/listinfo/ccie_rs >> >> >> >> -- >> // Freedom Matters >> // CCIE #29189 >> // www.packet-forwarding.net >> > _______________________________________________ > For more information regarding industry leading CCIE Lab training, please > visit www.ipexpert.com > > Are you a CCNP or CCIE and looking for a job? Check out > www.PlatinumPlacement.com > > http://onlinestudylist.com/mailman/listinfo/ccie_rs _______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com Are you a CCNP or CCIE and looking for a job? Check out www.PlatinumPlacement.com http://onlinestudylist.com/mailman/listinfo/ccie_rs
