[rancid] HP procurve backup extra commands

heasley heas at shrubbery.net
Tue Nov 1 14:17:31 UTC 2022


Tue, Nov 01, 2022 at 10:26:02AM +0000, Eckersley, Alex:
> Hi,
> 
> I want to get some extra information from HP procurves that we use, like "show lldp info remote-device" or "show cdp neighbors".
> The backup works well but I have no clue where to add these extra commands... can someone please point this out to me?

hey.  The best way is to copy the device definition from rancid.types.base
to rancid.types.conf, rename the definition, then add whatever commands you
want and update the group's router.db to use the new definition.

Also see section 4 of the FAQ.



More information about the Rancid-discuss mailing list