GreenSys Consulting  

+6-03-7954 7433 / +6-03-7954 8433
+6-03-7954 9433
Contact Us   |   Our Locations

Find us on Facebook Follow us on Twitter Find us on LinkedIn

Course Outline

Junos Automation

Course No. : EDU-JUN-JAUT
Length : 2 days
Cost : USD 1,400
Register Download Course Outline

Course Overview

This two-day course is designed to provide students with Junos scripting knowledge through hands-on script development. The course includes an overview of Extensible Markup Language (XML), Stylesheet Language Alternative Syntax (SLAX), the Junos template and function library, commit scripts, operation (op) scripts, and event scripts. Through demonstrations and hands-on labs, students will gain experience in automating the Junos operating system and device operations.

This course is based on the Junos OS Release 11.1R2.3.


After successfully completing this course, you should be able to:

  • Describe the benefits of using Junos OS automation.
  • Describe the differences between commit, op, and event scripts.
  • Describe the format of an XML document.
  • Describe how the Junos OS uses XML for commands and configuration.
  • Explain how commit, op, and event scripts interact with XML.
  • Describe the SLAX script structure.
  • Describe SLAX variables and flow control.
  • Create and test SLAX scripts.
  • Describe the benefits of the Junos extension functions.
  • Explain the different Junos extension functions.
  • Describe how commit scripts can be used to make changes to the configuration.
  • Describe how to use commit scripts to generate custom warnings and errors during a commit.
  • Configure and enable commit scripts.
  • Describe the use of op scripts.
  • Explain how to define arguments and call operational-mode commands.
  • Describe how to make configuration changes with op scripts.
  • Configure op scripts.
  • Describe the usage of event policies and scripts.
  • Configure event scripts.
Intended Audience

This course benefits individuals responsible for configuring and monitoring devices running the Junos OS.

Course Level

JAUT is an intermediate-level course.


Students should have intermediate-level networking knowledge and an understanding of the Open Systems Interconnection (OSI) model and the TCP/IP protocol suite. Students should also have familiarity with a programming language such as C, C++, Perl, or Java. Students should also attend the Introduction to the Junos Operating System (IJOS) and Junos Routing Essentials (JRE) courses prior to attending this class.

Course Contents
Day 1
Chapter 1: Course Introduction
Chapter 2: Automation Fundamentals
  • Automation Overview
  • Introduction to Commit, Op, and Event scripts
  • Automation Solutions
Chapter 3: XML
  • Introduction to XML
  • XML in the Junos OS
  • Using XML in Scripts
  • Lab 1: Working with XML in the Junos OS
Chapter 4: SLAX
  • Introduction to SLAX
  • Templates
  • XML Tags in SLAX
  • Variables
  • Flow Control
  • SLAX Script Structure
  • Additional References
  • Lab 2: Creating SLAX scripts
Chapter 5: Junos Function Library
  • Junos Extension Template and Function Library
  • Logic Functions
  • Data Manipulation Functions
  • Input/Output Functions
  • Utility Functions
  • Arguments
  • Lab 3: Working with the Junos Function Library
Day 2
Chapter 6: Commit Scripts
  • Introduction to Commit Scripts
  • Making Changes
  • Custom Warnings and Errors
  • Custom Configuration Syntax
  • Configuring Commit Scripts
  • Lab 4: Configuring Commit Scripts
Chapter 7: Op Scripts
  • Introduction to Op Scripts
  • Simple Example
  • Defining Arguments
  • Calling Operational Mode Commands
  • Output
  • Configuration Changes
  • Configuring Op Scripts
  • Lab 5: Configuring Op Scripts
Chapter 8: Event Scripts
  • Introduction to Event Scripts
  • Configuring Event Handling
  • Event Policies
  • Writing Event Scripts
  • Lab 6: Configuring Event Handling
Appendix A: XSLT
  • Introduction to XSLT
  • Templates
  • Flow Control
  • XSLT Script Structure
  • Additional References

Schedule list by JAUT