Discussion:
[rancid] Ignore flash changes in Cisco routers?
Derek
2016-06-03 13:15:32 UTC
Permalink
Hello everyone. I've recently upgraded some routers to Cisco ISR 4331's,
and noticed I'm getting config diffs for flash memory changes, specifically
related to the tracelogs. Here's an example:

- !Flash: bootflash: 98497 drwx 8192 Jun 2 2016 23:51:20
-05:00 tracelogs

+ !Flash: bootflash: 98497 drwx 8192 Jun 3 2016 05:48:55
-05:00 tracelogs


- !Flash: bootflash: 7397990400 bytes total (6595952640 bytes free)

+ !Flash: bootflash: 7397990400 bytes total (6595903488 bytes free)

Is there anywhere I can modify RANCID so it ignores these changes? Right
now, it just clutters up my revisions needlessly.

Thanks,

Derek
Cooper, Thomas
2016-06-03 13:23:31 UTC
Permalink
Edit your etc/rancid.types.base file. You can remove the commands rancid gathers (like “dir nvram:”).

Thomas Cooper

From: Rancid-discuss [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Derek
Sent: 2016, June, 03 9:16 AM
To: rancid-***@shrubbery.net
Subject: [rancid] Ignore flash changes in Cisco routers?

Hello everyone. I've recently upgraded some routers to Cisco ISR 4331's, and noticed I'm getting config diffs for flash memory changes, specifically related to the tracelogs. Here's an example:
- !Flash: bootflash: 98497 drwx 8192 Jun 2 2016 23:51:20 -05:00 tracelogs
+ !Flash: bootflash: 98497 drwx 8192 Jun 3 2016 05:48:55 -05:00 tracelogs

- !Flash: bootflash: 7397990400 bytes total (6595952640 bytes free)
+ !Flash: bootflash: 7397990400 bytes total (6595903488 bytes free)

Is there anywhere I can modify RANCID so it ignores these changes? Right now, it just clutters up my revisions needlessly.
Thanks,
Derek
_______________________________________________________________________
If you received this email in error, please advise the sender (by return email or otherwise) immediately. You have consented to receive the attached electronically at the above-noted email address; please retain a copy of this confirmation for future reference.

Si vous recevez ce courriel par erreur, veuillez en aviser l'expéditeur immédiatement, par retour de courriel ou par un autre moyen. Vous avez accepté de recevoir le(s) document(s) ci-joint(s) par voie électronique à l'adresse courriel indiquée ci-dessus; veuillez conserver une copie de cette confirmation pour les fins de reference future.
heasley
2016-06-03 15:16:22 UTC
Permalink
Post by Derek
Hello everyone. I've recently upgraded some routers to Cisco ISR 4331's,
and noticed I'm getting config diffs for flash memory changes, specifically
- !Flash: bootflash: 98497 drwx 8192 Jun 2 2016 23:51:20
-05:00 tracelogs
+ !Flash: bootflash: 98497 drwx 8192 Jun 3 2016 05:48:55
-05:00 tracelogs
- !Flash: bootflash: 7397990400 bytes total (6595952640 bytes free)
+ !Flash: bootflash: 7397990400 bytes total (6595903488 bytes free)
Is there anywhere I can modify RANCID so it ignores these changes? Right
now, it just clutters up my revisions needlessly.
3.4.1 should filter this and summarize the free space.

Loading...