The functionality of this first op script is very simple: When run, it displays the text “Hello World!” on the console.

To run this script in the browser, press the green Run button below the script window. You will see the output from the script run in the console panel below the script window. $ character on the console panel indicates that the execution of the script has completed. Try editing the script to the right and run it to see the change in output in the console panel.

version 1.0;

ns junos = "http://xml.juniper.net/junos/*/junos";
ns xnm = "http://xml.juniper.net/xnm/1.1/xnm";
ns jcs = "http://xml.juniper.net/junos/commit-scripts/1.0";

match / {    
    expr "Hello World!";    
}