Administrator Guide
Downloading Scripts to a Switch
Download a script to the switch using TFTP, FTP, or FLASH. Save the script to the dedicated script storage
location, /usr/pkg/ss-scripts.
1. Configure the folders to mount a remote directory in the local Dell Networking OS path through a
network file system (NFS).
CONFIGURATION mode
mount nfs nfs-server-ip: remote_dir mount_name [username username | password
password]
2. Copy a script to a switch. Downloaded files are stored in the following path: /usr/pkg/ss-
scripts
.
EXEC
script get url
3. Remove a script from a switch.
EXEC
script remove {file_name file-name | all}
Setting a Search Path for Scripts
Create a path to the location where you stored the scripts. The Dell Networking OS uses this path when
searching for the scripts. This way you do not have to specify a specific path when executing a script.
• Set a search path for a script in the Dell Networking OS.
CONFIGURATION mode
script path path-name
The script path can contain a network file-system-mounted directory (defined in the mount nfs
command). The path is added to a script search list, allowing the system to search all locations for the
script name. If the script is in multiple locations, the system uses the first instance of the script found.
Scheduling and Executing Scripts
Schedule scripts to execute periodically, based on an event and a specific time, such as at boot up or
after you configure the switch.
Manage scripts to stop executing after a set time or to run at optimal times for critical resources, such as
switch CPU load or packet loss.
To access the Dell Networking OS CLI via scripts, the Dell Networking OS provides a utility called clido,
which is also a system command. For more information about the properties of
clido, refer to Dell
Proprietary Utilities.
86
Smart Scripting