Junos Automation (Scripting)
Junos Automation (Scripting)

What is Junos Automation?

[ Edited ]
08.10.10   |  
‎08-10-2010 06:32 PM

Automate What You Can, Do What You Must...

 

Junos Automation is a powerful, yet flexible onbox scripting toolset built-in Junos operating system.

 

Think of it as an extension of Junos...which automate and streamline your day-to-day operational and configuration tasks:

 

  • define and enforce best practices and rules in configuration changes
  • create and customizde your own CLI commands
  • embed predefined event handling and action logic to execute tasks in realtime

 

Junos Automation comes standard in all Junos platforms - routing, switching and security devices.

 

Not only it helps to lower the operational expense, it also increases network uptime and availability by minimizing misconfiguration due to human factors.

 

To learn more, visit the Junos Automation landing page in Junos Central

3 REPLIES
Highlighted
Junos Automation (Scripting)

Re: What is Junos Automation?

11.29.10   |  
‎11-29-2010 03:17 AM

Thank you for your explanation.

 

I want to develop a JUNOS Script for instructing a Juniper SRX device to block a specified IP address thereby preventing it from accessing a network.

 

Thank you very much.

Junos Automation (Scripting)

Re: What is Junos Automation?

07.04.13   |  
‎07-04-2013 05:37 AM

Hi,

 

You mention that Junos Automation can be used for "create and customizde your own CLI commands". Do you have an exmaple that demonstrates this? For example a 'show my-command hello-world'-demo? ...where a script is "plugged into" a user-defined place in the CLI command-tree?

 

Thanks!

Martin

 

Junos Automation (Scripting)

Re: What is Junos Automation?

07.31.13   |  
‎07-31-2013 09:24 AM

"op" scripts are operational mode commands and are executed from the JUNOS CLI using the "op" command:

 

op <name-of-script> [<parameter-name> <parameter-value>] ...

 

A simple example would be:

 

https://github.com/Juniper/junoscriptorium/tree/master/library/juniper/op/display/cpu-usage-60

 

A not-so-simple example would be:

 

https://github.com/Juniper/junoscriptorium/blob/master/library/juniper/op/network/share-data/how-to....

 

Thanks,

 Phil