Running Python scripts from the command line

The facility to run Python scripts from the Extreme operating system command line enables you to execute complex and repetitious tasks with accuracy and efficiency. This facility also enables you to validate scripts intended for event management.

About this task

Caution

Caution

Make sure that you test Python scripts according to standard quality assurance practices before deploying them.

Procedure

In privileged EXEC mode, enter the python command, specifying the Python script file that you want to run.
device# python create_po.py
After the script runs, the SLX-OS prompt displays.

What to do next

Note

Note

The create_po.py script is discussed in "Script for assigning interfaces to port channels (create_po.py)."