[rancid] IOS Commands

Paul Mahan p.mahan at ucl.ac.uk
Tue Aug 7 10:43:29 UTC 2007


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





More information about the Rancid-discuss mailing list