Administrator Guide

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. You
must also 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, S5000, S6000, Z9000, Z9500 and MXL Switch
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
parameter values. For example, script username
admin /f10/flash/createVlans.py 1 2
.
Defaults none
Command
Modes
CONFIGURATION
Command
History
This guide is platform-specific. For command information about other platforms,
refer to the relevant Dell Networking OS Command Line Reference Guide.
The following is a list of the Dell Networking OS version history for this command.
82
Smart Scripting CLI