Discussion:
[rancid] Only Run Config
Sun
2013-12-18 06:24:24 UTC
Permalink
hi,

Running it smoothly without any issue, only thing is I want "running conf"
lines not other hardware/device/chassis etc info on top of file getting in
Rancid how can I trim that .. any hint guys

Rgds|Sun
Peter Jackson
2013-12-18 16:49:10 UTC
Permalink
Sending to rancid-***@shrubbery.net. The original was sent (or showed
up in my email) as rancid-***@googlegroups.com. When I replied to all,
I got a return email with the following:

"We're writing to let you know that the group you tried to contact
(rancid-discuss) may not exist, or you may not have permission to post
messages to the group. A few more details on why you weren't able to post:

* You might have spelled or formatted the group name incorrectly.
* The owner of the group may have removed this group.
* You may need to join the group before receiving permission to post.
* This group may not be open to posting.

If you have questions related to this or any other Google Group, visit the
Help Center at http://groups.google.com/support/."

---------- Forwarded message ----------
From: Peter Jackson <***@gmail.com>
Date: Wed, Dec 18, 2013 at 11:37 AM
Subject: Re: [rancid] Only Run Config
To: Sun <***@gmail.com>
Cc: rancid-***@googlegroups.com


If you only want rancid to save the running configuration (for Cisco, one
of the commands 'more system:running-config', 'show running-config view
full', 'show running-config', or 'write term') then you would have to
disable all of the other commands in the commandtable in the [x]rancid file.

Here are the first five lines of the commandtable in the rancid file with
the lines commented out (# at the beginning of the line).

@commandtable = (
# {'show version' => 'ShowVersion'},
# {'show redundancy secondary' => 'ShowRedundancy'},
# {'show idprom backplane', => 'ShowIDprom'},
# {'show install active' => 'ShowInstallActive'},
# {'show env all' => 'ShowEnv'},

If you are using RANCID for devices other than 'standard' Cisco, then you
would have to do the same for the other [x]rancid files (hrancid, nrancid,
xrancid, etc).
Post by Sun
hi,
Running it smoothly without any issue, only thing is I want "running conf"
lines not other hardware/device/chassis etc info on top of file getting in
Rancid how can I trim that .. any hint guys
Rgds|Sun
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
heasley
2013-12-18 16:58:26 UTC
Permalink
Post by Peter Jackson
Date: Wed, Dec 18, 2013 at 11:37 AM
Subject: Re: [rancid] Only Run Config
If you only want rancid to save the running configuration (for Cisco, one
of the commands 'more system:running-config', 'show running-config view
full', 'show running-config', or 'write term') then you would have to
disable all of the other commands in the commandtable in the [x]rancid file.
Here are the first five lines of the commandtable in the rancid file with
the lines commented out (# at the beginning of the line).
@commandtable = (
# {'show version' => 'ShowVersion'},
you should NOT remove show version.

Loading...