Owner's Manual

Smart Scripting CLI | 95
Command
History
Usage
Information
The path can contain a network file system (NFS) mounted directory (defined in the
mount nfs CLI 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.
Related
commands
script remove
,
Z9000, Z9500,
MXL Switch
Remove a script from a switch.
Syntax
script remove {file-name | all}
Parameters
Defaults
None
Command Modes
EXEC
Command
History
Usage
Information
The files are removed from the dedicated folder /usr/pkg/ss-scripts on the switch.
script trigger-event
,
Z9000, Z9500,
MXL Switch
Configure the event that causes the script to execute.
Syntax
script trigger-event event-name {log-event {tag tag} | severity severity level |
time-event time {day | date} | cpu-usage percentage | mem-usage percentage}
Version 9.5(0.1) Introduced on the Z9500.
Version 9.3(0.0) Introduced on the S6000.
Version 9.2(0.0) Introduced on the S4810, S4820T, Z9000, and MXL Switch.
mount nfs Set up the folders in the NFS mounted directory.
file-name Enter the file name of the script to be removed from the switch.
all Enter the keywords all to remove all files from the dedicated folder
on the switch.
Version 9.5(0.1) Introduced on the Z9500.
Version 9.3(0.0) Introduced on the S6000.
Version 9.2(0.0) Introduced on the S4810, S4820T, Z9000, and MXL Switch.