<div dir="auto"><div>Hi Saku.</div><div dir="auto"><br></div><div dir="auto">I don't know that Netconf or gRPC are any faster than loading cli. Those protocols facilitate automation so that the time it takes to load any one device is not a significant factor, especially when you can roll out changes to devices in parallel. Also, it's easier to build the changes into a structured format than assemble the right syntax to interact with the CLI.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Fri, Dec 9, 2022, 09:38 Saku Ytti <<a href="mailto:saku@ytti.fi">saku@ytti.fi</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can Andrian and Joshua explain what they specifically mean, and how<br>
they expect it to perform over what Steffann is already doing (e.g.<br>
load <a href="https://nms/cfg/router.txt" rel="noreferrer noreferrer" target="_blank">https://nms/cfg/router.txt</a>)? How much faster will it be, and why?<br>
<br>
Can Steffan explain how large a file they are copying, over what<br>
protocol, how long does it take, and how long does the commit take.<br>
<br>
We used to have configurations in excess of a million lines before<br>
'or-longer' halved them, and we've seen much longer times than 30min<br>
to get a new config pushed+commtited. We use FTP and while the FTP<br>
does take its sweet time, the commit itself is very long as well.<br>
<br>
I refrain from expressing my disillusionment with the utility of doing<br>
IRR based filtering.<br>
<br>
On Fri, 9 Dec 2022 at 15:38, Andrian Visnevschi via NANOG<br>
<<a href="mailto:nanog@nanog.org" target="_blank" rel="noreferrer">nanog@nanog.org</a>> wrote:<br>
><br>
> Two options:<br>
> - gRPC<br>
> - Netconf<br>
><br>
> You can use tools like paramiko,netmiko or napalm that are widely used to programmatically configure and manage your XR router.<br>
><br>
><br>
> On Fri, Dec 9, 2022 at 2:24 AM Joshua Miller <<a href="mailto:contemno@gmail.com" target="_blank" rel="noreferrer">contemno@gmail.com</a>> wrote:<br>
>><br>
>> Netconf is really nice for atomic changes to network devices, though it would still take some time for the device to process such a large change.<br>
>><br>
>> On Thu, Dec 8, 2022 at 6:05 PM Sander Steffann <<a href="mailto:sander@steffann.nl" target="_blank" rel="noreferrer">sander@steffann.nl</a>> wrote:<br>
>>><br>
>>> Hi,<br>
>>><br>
>>> What is the best/most efficient/most convenient way to push large prefix lists or sets to an XR router for BGP prefix filtering? Pushing thousands of lines through the CLI seems foolish, I tried using the load command but it seems horribly slow. What am I missing? :)<br>
>>><br>
>>> Cheers!<br>
>>> Sander<br>
>>><br>
>>> ---<br>
>>> for every complex problem, there’s a solution that is simple, neat, and wrong<br>
><br>
><br>
><br>
> --<br>
><br>
> Cheers,<br>
><br>
> Andrian Visnevschi<br>
><br>
><br>
<br>
<br>
-- <br>
  ++ytti<br>
</blockquote></div></div></div>