12.07.2015 Views

Version 3.1 SP2 Reference Guide - Extreme Networks

Version 3.1 SP2 Reference Guide - Extreme Networks

Version 3.1 SP2 Reference Guide - Extreme Networks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 17Creating a New <strong>Extreme</strong>XOS ScriptWhen you click the New... button in the Managed configuration scripts window, a Script Editor windowappears, displaying a script with default content.Figure 262: <strong>Extreme</strong>XOS Script Editor WindowBy default, an <strong>Extreme</strong>XOS script created in Ridgeline contains the following items:●●●●●A metadata section where you can enter a description of the script and define variables.Commands to enable and disable CLI scripting on a device.Commands to create a log entry when the script starts and when it finishes running.An error handling section consisting of <strong>Extreme</strong>XOS scripting commands that allow you to specifywhat happens if the script encounters an error when it is executed. You can specify that script stoprunning (abort) when an error is encountered (the default), or you can specify that the scriptcontinue running and ignore errors.Blank space in the metadata and command sections where you can enter <strong>Extreme</strong>XOS script code.Ridgeline <strong>Reference</strong> <strong>Guide</strong>371

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!