[rancid] frr/zebra more info

Dan Kerse daniel.kerse at gmail.com
Wed Mar 11 21:52:58 UTC 2026


I think you need to add an x to the end of this line:
frrx;script;rancid -t frr
 Should read:
frrx;script;rancid -t frrx


ie the type that you pass to the rancid command needs to match the type defined in the configuration file.

________________________________
From: Rancid-discuss <rancid-discuss-bounces at www.shrubbery.net> on behalf of Randy Bush <randy at psg.com>
Sent: Wednesday, March 11, 2026 9:12:31 AM
To: heasley <heas at shrubbery.net>
Cc: RANCID Discuss <rancid-discuss at www.shrubbery.net>
Subject: Re: [rancid] frr/zebra more info

> Maybe adding to the command list like:
>        <name>;command;rancid::<writefunc>;start-shell cat /etc/network/interfaces
> does that command actually work?  docs imply that it does.

made a new type in `/etc/raancid/rancid.types.conf`
```
frrx;script;rancid -t frr
frrx;login;clogin
frrx;module;frr
frrx;inloop;frr::inloop
frrx;command;frr::ShowVersion;show version
frrx;command;frr::WriteTerm;write term
frrx;command;rancid::WriteTerm;start-shell cat /etc/network/interfaces
frrx;command;rancid::WriteTerm;start-shell cat /etc/nftables.conf
```

and changer the `router.db` entry to that type

did not record that last two commands

log uninteresting except maybe for second line here
```
no changes added to commit (use "git add" and/or "git commit -a")
Added r42.foo.blarg.net
```

randy

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss at www.shrubbery.net
https://www.shrubbery.net/mailman/listinfo/rancid-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20260311/3375638d/attachment.htm>


More information about the Rancid-discuss mailing list