Discussion:
[rancid] Choosing what commands are run on collection
JasonA
2008-09-15 13:00:39 UTC
Permalink
Hi all,

I've searched around for the answer to this, but can't find any, so I'm hoping someone can help.

We've set up RANCID at our work, and it's working very well.

The only problem that he have is that on certain types of network switch, the information RANCID gets will include things like VLAN assignments, and spanning tree port costs, which will change dynamically through the day as different devices join/leave the network. This means that we frequently get messages on the hour about these insignificant changes, and the CVS version gets incremented when no actual "config change" has been made.

Ideally, we would like to change this by getting RANCID to run just "show run" on the IOS switches, and "show config" on the CatOS switches. I've checked all the rancid, rancid-run, clogin, cloginrc etc man pages, but I've not managed to find an obvious way of doing this.

Please let me know if this is something that we can do (or somehting that you've already done!)

Many thanks,

Jason
Daniel Medina
2008-09-16 16:25:58 UTC
Permalink
Post by JasonA
Ideally, we would like to change this by getting RANCID to run just "show
run" on the IOS switches, and "show config" on the CatOS switches. I've
checked all the rancid, rancid-run, clogin, cloginrc etc man pages, but I've
not managed to find an obvious way of doing this.
I think this came up yesterday; I believe you're looking for the same answer

[rancid] Commands run?
http://shrubbery.net/pipermail/rancid-discuss/2008-September/003285.html

Check out the @commandtable list in bin/rancid and bin/cat5rancid. Comment
out what displeases you by prepending the line with a pound character ("#") or
modify as otherwise required.
--
Dan
JasonA
2008-09-16 16:36:26 UTC
Permalink
Perfect - just what I was looking for! And weird that it was only asked for the day before.

Thanks a lot!!

Jason




----- Original Message ----
From: Daniel Medina <***@gmail.com>
To: JasonA <***@yahoo.com>
Cc: rancid-***@shrubbery.net
Sent: Tuesday, 16 September, 2008 17:25:58
Subject: Re: [rancid] Choosing what commands are run on collection
Post by JasonA
Ideally, we would like to change this by getting RANCID to run just "show
run" on the IOS switches, and "show config" on the CatOS switches. I've
checked all the rancid, rancid-run, clogin, cloginrc etc man pages, but I've
not managed to find an obvious way of doing this.
I think this came up yesterday; I believe you're looking for the same answer

[rancid] Commands run?
http://shrubbery.net/pipermail/rancid-discuss/2008-September/003285.html

Check out the @commandtable list in bin/rancid and bin/cat5rancid. Comment
out what displeases you by prepending the line with a pound character ("#") or
modify as otherwise required.
--
Dan
Loading...