Re: [c-nsp] Large prefix lists/sets on IOS-XR

2022-12-08 Thread Sander Steffann via cisco-nsp
Hi, > netconf? What are the magic incantations for netconf for XR? I have lots of experience with junos, but XR is still a mystery to me :) Cheers, Sander ___ cisco-nsp mailing list cisco-nsp@puck.nether.net

Re: [c-nsp] Large prefix lists/sets on IOS-XR

2022-12-08 Thread Aaron via cisco-nsp
netconf? On Thu, Dec 8, 2022 at 6:03 PM Sander Steffann via cisco-nsp < cisco-nsp@puck.nether.net> wrote: > Hi, > > 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

[c-nsp] Large prefix lists/sets on IOS-XR

2022-12-08 Thread Sander Steffann via cisco-nsp
Hi, 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? :) Cheers! Sander ---

Re: [c-nsp] MTU and PMTUD

2022-12-08 Thread Nick Hilliard via cisco-nsp
Marcin Kurek via cisco-nsp wrote on 08/12/2022 09:25: Interesting, but why would 'sh run' or 'write' raise an interrupt? Isn't this a branch in code that handles the CLI? this was monolithic IOS running on older platforms. On a non-preemptive multitasking operating system like this,

Re: [c-nsp] MTU and PMTUD

2022-12-08 Thread Marcin Kurek via cisco-nsp
> I may have misunderstood you. Ddi you have 8936 configured on both > ends? I thought you had only 8936 on the CSR. > > How I understood it: > > *Dec 8 11:17:15.453: TCP0: Connection to 12.0.0.7:179, advertising MSS 8936 > *Dec 8 11:17:15.456: TCP: tcb 7FFB9A6D64C0 connection to > 12.0.0.7:179,

Re: [c-nsp] MTU and PMTUD

2022-12-08 Thread Lukasz Bromirski via cisco-nsp
Marcin, I did some benchmarking back in ~2008-2009 (with 12.2.31SB and 12.2SR, who still remembers that?), and we (Cisco) fixed numerous non optimized paths in the routing code. But that was over a decade ago, so I’ll limit bragging about it ;) There are two presentations, quoted from about that

Re: [c-nsp] MTU and PMTUD

2022-12-08 Thread Saku Ytti via cisco-nsp
On Thu, 8 Dec 2022 at 11:40, Marcin Kurek wrote: > > > https://www.rfc-editor.org/rfc/rfc8654.html > > Thanks! > > > But it was [8936, 1240].min - so it was 'negotiated' here to the > > smallest? If you change the 8936 end to 1239, then that will be used, > > regardless who starts it. > > Yes,

Re: [c-nsp] MTU and PMTUD

2022-12-08 Thread Marcin Kurek via cisco-nsp
> https://www.rfc-editor.org/rfc/rfc8654.html Thanks! > But it was [8936, 1240].min - so it was 'negotiated' here to the > smallest? If you change the 8936 end to 1239, then that will be used, > regardless who starts it. Yes, but why would XR advertise 1240 if I'm using 'tcp mss 8936' for that

Re: [c-nsp] MTU and PMTUD

2022-12-08 Thread Saku Ytti via cisco-nsp
On Thu, 8 Dec 2022 at 11:25, Marcin Kurek wrote: > Interesting, but why would 'sh run' or 'write' raise an interrupt? > Isn't this a branch in code that handles the CLI? Maybe to access NVRAM? I don't know for sure, I didn't pursue it, I just know I could observe it. > I'm not sure if I'm

Re: [c-nsp] MTU and PMTUD

2022-12-08 Thread Marcin Kurek via cisco-nsp
Hi Saku, > To handle NIC received packets you can do two things > > a) CPU can get interrupt, and handle the interrupt > b) Interrupts can be disabled, and CPU can poll to see if there are > packets to process > > The mechanism a) is the norm and the mechanism b) is modernish. To > improve PPS