[j-nsp] EX interface-range and commit scripts

Phil Shafer phil at juniper.net
Thu Mar 15 10:03:47 EDT 2012


Sebastian Wiesinger writes:
>is there any way for a commit script running on the EX series to get
>the configuration *after* interface-ranges are applied? Right now the
>interface-range ist not expanded and the individual interface
>configuration is not visible for the commit script. I can manually
>display it with the "| display inheritance" cli option but I found no
>way to do this in the commit script. I thought that interface ranges
>are somewhat similar to groups but that doesn't seem to be the case.

The config that gets passed to a commit script should be post-inheritance,
so interface ranges should be expanded.  Do you have an example of
it failing?

Thanks,
 Phil


More information about the juniper-nsp mailing list