[j-nsp] Looking for Hints: Best Practices to PUSH prefix-list on MX platform with 16.x and UP

Vincent Bernat bernat at luffy.cx
Fri Aug 13 05:31:45 EDT 2021


 ❦ 13 August 2021 11:44 +03, Saku Ytti via juniper-nsp:

> You could have something like this:
>
> groups {
>   IRR {
>      ...
>    }
> }
>
> Then always generate complete new prefix lists in NMS into a single file.
>
> And have script do:
>
> edit groups
> delete IRR
> load merge https://nms/irr.junos
> commit and-quit

To tighten a bit:

edit groups
delete IRR
edit IRR
load merge relative https://nms/irr.junos
commit and-quit
-- 
It is often the case that the man who can't tell a lie thinks he is the best
judge of one.
		-- Mark Twain, "Pudd'nhead Wilson's Calendar"


More information about the juniper-nsp mailing list