[j-nsp] Junoscript, Looking Glass and logical-router

Phil Shafer phil at juniper.net
Tue Jan 6 08:42:32 EST 2004


Panny Malialis writes:
>Can I run a command like "set cli logical-router lr0" automatically on login ? This may do the tri
>ck I think.

There's a junoscript equivalent:

 <rpc>
   <set-logical-router>
     <logical-router>lr0</logical-router>
   </set-logical-router>
 </rpc>

In current software (6.1), this (and 'set cli logical-router') is
really just a convenience feature that automatically supplies a
value for the 'logical-router' argument of any command that supports
that argument.

Thanks,
 Phil


More information about the juniper-nsp mailing list