[j-nsp] read CLI "banner" XML element value with SLAX script

Martin T m4rtntns at gmail.com
Thu Jan 14 03:18:55 EST 2016


$junos-context variable works perfectly!


PS. Thanks for writing such book! I made a pre-order for printed version.


Martin

On 1/14/16, Phil Shafer <phil at juniper.net> wrote:
> Martin T writes:
>>Junos has "banner" XML element under "rpc-reply" and "cli" hierarchy:
>
> This is really only available between cli and mgd.  It's internal
> and we shouldn't display it at all during "display xml".  There's
> a PR to stop showing it.
>
> Like Jonathan said, the $junos-context is a better source.
>
> Thanks,
>  Phil
>


More information about the juniper-nsp mailing list