[rancid] Re: IOS Commands

Lance rancid at gheek.net
Tue Aug 7 20:09:18 UTC 2007


Paul,

I have RANCID ignore the flash as it has no real relevance to me. You
can comment it out in you bin/rancid script file where it mentions
commands. Look for ShowRun that should help you find the area I am
talking about. It is in an array toward the bottom.

-Lance

> -------- Original Message --------
> Subject: [rancid]  IOS Commands
> From: "Paul Mahan" <p.mahan at ucl.ac.uk>
> Date: Tue, August 07, 2007 3:43 am
> To: <rancid-discuss at shrubbery.net>
> 
> Hi,
> 
> We have Cisco 1200/ 1130 Access Points running IOS. I've got RANCID up and
> running and everything appears to be OK except the diff command on the
> flash. For whatever reason the timestamp on the flash files changes by a
> matter of seconds:
> 
> <...
> ===================================================================
> retrieving revision 1.4
> diff -U 4 -r1.4 <removed>
> @@ -26,12 +26,12 @@
>   !BootFlash:       buffer size:   32768
>   !BootFlash:       Mode Button:    on
>   !
>   !Flash: Directory of flash:/
> - !Flash:     2  -rwx        6642  Jul 30 2007 01:01:14 +00:00  config.txt
> - !Flash:     4  -rwx        3860  Jul 30 2007 01:01:14 +00:00
> private-config
> + !Flash:     2  -rwx        3860  Jul 31 2007 01:01:20 +00:00
> private-config
> + !Flash:     4  -rwx        3096  Jul 31 2007 01:01:20 +00:00
> private-multiple-fs
> + !Flash:     3  -rwx        6642  Jul 31 2007 01:01:20 +00:00  config.txt
>   !Flash:     7  drwx         512  Jan 16 2007 23:32:55 +00:00
> c1200-k9w7-mx.123-8.JEA
> - !Flash:     5  -rwx        3096  Jul 30 2007 01:01:14 +00:00
> private-multiple-fs
>   !Flash:     6  -rwx         790  Mar 01 2002 00:00:09 +00:00  env_vars
>   !Flash: 7741440 bytes total (2767872 bytes free)
>   !
>   !
> ...>
> 
> Subsequently, every time RANCID is executed a diff in the flash is found on
> router.db device and a 1Mb config diff file is emailed out. I've commented
> out all dir and show flash commands in the @commandtable section of the
> /usr/local/rancid/bin/rancid file but it is still emailing diffs in the
> flash. Anyone got any suggestions?
> 
> Paul
> 
> 
> 
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss



More information about the Rancid-discuss mailing list