[j-nsp] BGP Peer formatting

Ben Dale bdale at comlinx.com.au
Mon Sep 22 05:43:34 EDT 2014


On 10 Sep 2014, at 11:32 am, Ben Dale <BDALE at COMLINX.COM.AU> wrote:

> Failing that, I just hacked up an op script to only show a summarised version from each peer - output here:
> 
> https://github.com/dfex/DFEXjunoscripts/blob/master/show-bgp-neat.md
> 
> Code here:
> 
> https://github.com/dfex/DFEXjunoscripts/blob/master/show-bgp-neat.slax
> 
> The script *should* sum all the prefixes from each RIB into a single summarised number per peer, but I haven't had a chance to test it too thoroughly yet.  Feedback/Pull Requests welcome.
> 

Okay, looks like I managed to upload an incomplete non-working script instead of the one I was actually testing on my router.  

Thanks to those who pointed this out!

Corrected version is now up on Github - tested on SRX, ACX and MX (all single RE) 

Hey Phil, when can we have git native in Junos?!  ; )




More information about the juniper-nsp mailing list