Management

 View Only
last person joined: 6 days ago 

Ask questions and share experiences with Junos Space and network management.
  • 1.  How to create the most basic Configlet in Junos Space to do a request command?

    This message was posted by a user wishing to remain anonymous
    Posted 30 days ago
    This message was posted by a user wishing to remain anonymous

    Hello,

    Can someone post giving details on the easiest and most basic way of creating a configlet to do a request command in Junos Space. An example would be "request system storage cleanup" or two request commands in the same configlet.

    "request support information | save /var/log/RSI.txt
    file Archive compress source /var/log destination /var/tmp/varlog"



  • 2.  RE: How to create the most basic Configlet in Junos Space to do a request command?

     
    Posted 30 days ago

    In Junos Space, CLI Configlets are used to apply configuration.  They cannot be used to execute commands such as "request system storage".

    If you wish to use Junos Space to execute commands, then you can leverage SLAX scripts.  It used to be possible to have SLAX scripts locally executed by Junos Space without the need to deploy the scripts to the target device(s).  Not sure if that feature is still supported or not on Junos Space though, since I've not done anything for quite a few releases now with Space.

    But if you wish to perform operations such as storage cleanup, snapshots, RSI etc, then SLAX would be the approach I'd look at with regards to using Junos Space.

    Regards,