[rancid] Disabling commands without altering rancid.types.base

heasley heas at shrubbery.net
Mon Jun 19 16:10:09 UTC 2017

Mon, Jun 19, 2017 at 03:07:54PM +0100, Howard Jones:
> I have a few nexus 7000 switches where the contents of bootflash changes 
> very regularly, causing spurious changes. For now, I've commented out 
> some commands in etc/rancid.types.base, against the advice of the 
> manpage. Is there a way to remove commands in rancid.types.conf for an 
> existing device type?
> # cisco-nx;command;nxos::DirSlotN;dir bootflash:
> #cisco-nx;command;nxos::DirSlotN;dir debug:
> #cisco-nx;command;nxos::DirSlotN;dir logflash:
> #cisco-nx;command;nxos::DirSlotN;dir slot0:
> #cisco-nx;command;nxos::DirSlotN;dir usb1:
> #cisco-nx;command;nxos::DirSlotN;dir usb2:
> #cisco-nx;command;nxos::DirSlotN;dir volatile:

only by creating a different device definition, such as cisco-nx-thingie,
in rancid.types.conf.

These changes in the next version (and in the current alpha) might help:

        nxos.pm: drop bootvar_debug.* log files reported on the ML

        nxof.pm: Filter vtp_debug.log and vtp_debug_old.log CDETS bug CSCuy87611
        - Mark Felder

More information about the Rancid-discuss mailing list