Administrator Guide

94 | Smart Scripting CLI
www.dell.com | support.dell.com
script remove
,
S5000, 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
,
S5000, 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}
To delete the trigger event, use the no script trigger-event command.
Parameters
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.6(0.0) Introduced on the S5000.
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.
event-name Enter the name of the script event to be triggered.
log-event {tag tag} Enter the keywords log-event tag followed by the pattern (tag) in
the syslog message to define the trigger event based on the pattern
(tag) in the syslog. A maximum three tags can be given. Each tag
must be separated by spaces “ “.