<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<div dir="ltr" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I think you need to add an x to the end of this line:</div>
<div dir="ltr" style="font-family: Aptos; font-size: 15.4px; color: rgb(33, 33, 33);">
<span style="text-transform: none;">frrx;script;rancid -t frr</span></div>
<div dir="ltr" style="font-family: Aptos; font-size: 15.4px; color: rgb(33, 33, 33);">
<span style="text-transform: none;"> Should read:</span></div>
<div dir="ltr" style="font-family: Aptos; font-size: 15.4px; color: rgb(33, 33, 33);">
<span style="text-transform: none;">frrx;script;rancid -t frrx</span></div>
<div dir="ltr" style="font-family: Aptos; font-size: 15.4px; color: rgb(33, 33, 33);">
<span style="text-transform: none;"><br>
</span></div>
<div dir="ltr" style="font-family: Aptos; font-size: 15.4px; color: rgb(33, 33, 33);">
<span style="text-transform: none;"><br>
</span></div>
<div dir="ltr" style="font-family: Aptos; font-size: 15.4px; color: rgb(33, 33, 33);">
<span style="text-transform: none;">ie the type that you pass to the rancid command needs to match the type defined in the configuration file.</span></div>
<div id="ms-outlook-mobile-body-separator-line" data-applydefaultfontstyles="true" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt;" dir="ltr">
<div dir="ltr" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
</div>
<div style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt;" id="ms-outlook-mobile-signature" dir="ltr">
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Rancid-discuss <rancid-discuss-bounces@www.shrubbery.net> on behalf of Randy Bush <randy@psg.com><br>
<b>Sent:</b> Wednesday, March 11, 2026 9:12:31 AM<br>
<b>To:</b> heasley <heas@shrubbery.net><br>
<b>Cc:</b> RANCID Discuss <rancid-discuss@www.shrubbery.net><br>
<b>Subject:</b> Re: [rancid] frr/zebra more info</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">> Maybe adding to the command list like:<br>
>        <name>;command;rancid::<writefunc>;start-shell cat /etc/network/interfaces<br>
> does that command actually work?  docs imply that it does.<br>
<br>
made a new type in `/etc/raancid/rancid.types.conf`<br>
```<br>
frrx;script;rancid -t frr<br>
frrx;login;clogin<br>
frrx;module;frr<br>
frrx;inloop;frr::inloop<br>
frrx;command;frr::ShowVersion;show version<br>
frrx;command;frr::WriteTerm;write term<br>
frrx;command;rancid::WriteTerm;start-shell cat /etc/network/interfaces<br>
frrx;command;rancid::WriteTerm;start-shell cat /etc/nftables.conf<br>
```<br>
<br>
and changer the `router.db` entry to that type<br>
<br>
did not record that last two commands<br>
<br>
log uninteresting except maybe for second line here<br>
```<br>
no changes added to commit (use "git add" and/or "git commit -a")<br>
Added r42.foo.blarg.net<br>
```<br>
<br>
randy<br>
<br>
_______________________________________________<br>
Rancid-discuss mailing list<br>
Rancid-discuss@www.shrubbery.net<br>
<a href="https://www.shrubbery.net/mailman/listinfo/rancid-discuss">https://www.shrubbery.net/mailman/listinfo/rancid-discuss</a><br>
</div>
</span></font></div>
</body>
</html>