Service Manual
Version Description
9.5(0.1) Introduced on the Z9500.
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
flash memory.
CAUTION: Before you uninstall the Smart Scripting package, first 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.
Released
Commands
show packages — displays all Open Automation packages installed on the switch.
script (run)
Run an Expect, Perl, Python, Ruby, Tcl, UNIX, and ZSH shell script from the Dell Networking OS CLI.
S4810, S4820T, S3048–ON, S5000, S6000, S6000–ON, Z9500, 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 filename; for example:
• Perl script: /usr/pkg/scripts/sample_scripts/
cmd-server.pl
• Python script: /usr/pkg/scripts/sample_scripts/
DisplayAlarms.py
• Ruby script: /usr/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
92
Smart Scripting CLI