[rancid] frr/zebra more info

Randy Bush randy at psg.com
Tue Mar 10 20:12:31 UTC 2026


> 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



More information about the Rancid-discuss mailing list