[rancid] frr/zebra more info
Randy Bush
randy at psg.com
Wed Mar 11 22:09:15 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
ok. makes sense. but, as i said in a private email
> 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 changed the `router.db` entry to that type
on the target, the user rancid has a special shell, not bash/csh
rancid:x:1003:1003:Rancid User,,,:/home/rancid:/home/rancid/do-vtysh
which simply does `sudo vtysh` so rancid can issue vtysh commands
but, despite rumors, vtysh does not support `start-shell` or any
other way to `cat` a file
randy
More information about the Rancid-discuss
mailing list