Users Guide

Version Description
9.2(0.0) Introduced on the MXL switch.
9.0.2.0 Introduced on the S6000.
9.0.0.0 Introduced on the Z9000.
8.3.19.0 Introduced on the S4820T.
8.3.8.0 Introduced on the S4810.
Usage Information
When you uninstall an Open Automation package, it is removed from the local ash memory.
CAUTION: Before you uninstall the Smart Scripting package, rst stop all scripts that are running using
the no script script-name command. Manually stop the http-server daemon by using the no
http-server {http | secure-http} command.
To follow the uninstall progress, use the show packages command.
Related Commands show packages — displays all Open Automation packages installed on the switch.
script (run)
Runs an Expect, Perl, Python, Ruby, Tcl, UNIX, and ZSH shell script from the Dell EMC Networking OS CLI.
S4810, S4820T, S3048–ON, S3100 Series, S4048–ON,
S4048T–ON, S5000, S6000, S6000–ON, S6010–ON, S6100–
ON, Z9100–ON, Z9500, C9010, and MXL
Syntax
script [username name] script-name [script-parameter script-parameter ...]
Parameters
username name
(Optional) Enter the user name with read-write privileges. A username cannot contain
special characters.
script-name
Enter the name of the script to run, including the directory path and lename; for
example:
Perl script: /usr/pkg/scripts/sample_scripts/cmd-server.pl. For
S3100 series, the path and lename is/f10/flash/pkg/usr/pkg/scripts/
sample_scripts/cmd-server.pl
Python script: /usr/pkg/scripts/sample_scripts/DisplayAlarms.py.
For S3100 series, the path and lename is/f10/flash/pkg/usr/pkg/
scripts/sample_scripts/DisplayAlarms.py
Ruby script: /usr/pkg/ss-scripts/interface_monitor.rb . For S3100
series, the path and lename is/f10/flash/pkg/ss-scripts/
interface_monitor.rb
UNIX shell script: /usr/pkg/home/admin/test.sh
script-
parameter
(Optional) Enter the values of up to three parameters to apply when the script runs. Enter
a blank space between parameter values. For example, script username
admin /f10/flash/createVlans.py 1 2.
Smart Scripting CLI 95