[rancid] Fwd: Only Run Config

Peter Jackson peterjackson1610 at gmail.com
Wed Dec 18 16:49:10 UTC 2013


Sending to rancid-discuss at shrubbery.net.  The original was sent (or showed
up in my email) as rancid-discuss at 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 <peterjackson1610 at gmail.com>
Date: Wed, Dec 18, 2013 at 11:37 AM
Subject: Re: [rancid] Only Run Config
To: Sun <sun.ccna at gmail.com>
Cc: rancid-discuss at 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).




On Wed, Dec 18, 2013 at 1:24 AM, Sun <sun.ccna at gmail.com> wrote:

>  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
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20131218/467a0a71/attachment.html>


More information about the Rancid-discuss mailing list