Owner's Manual

86 | Smart Scripting CLI
www.dell.com | support.dell.com
Command
History
Usage
Information
The trigger events can be associated with two types of scripts — Singleton and
Concurrent.
For singleton scripts, the following operations are performed:
When the script is running, all the event occurrences are notified by the
SIGUSR1 signal and a new instance of the script is not spawned.
The script uses the
getcurrevt utility to retrieve the event name.
The script uses the
getnextevt utility to retrieve the last but one event name.
The script, which contains the script name, args, and username, can be
associated with more than one trigger event.
When multiple users configure a singleton script, the scripts runs separately in
each user context.
For concurrent scripts, the following operations are performed:
A new instance of the script is spawned at every occurrence of the event.
The maximum instances are restricted to 10.
Only one trigger can be associated with the script, which contains the script
name, args, and username.
script get
Z9000
MXL Switch
Copy a script to a switch.
Syntax
script get url
Parameters
Defaults
None
Command Modes
EXEC
Command
History
Usage
Information
The following formats are supported: FLASH,FTP, TFTP, HTTP, and SCP. To
retrieve the script files, use the following formats:
Version 9.3(0.0) Introduced on the S6000.
Version 9.2(0.0) Introduced on the S4810, S4820T, Z9000, and MXL Switch.
url Enter the keyword url followed by the URL location of the script to
download to a switch.
Version 9.3(0.0) Introduced on the S6000.
Version 9.2(0.0) Introduced on the S4810, S4820T, Z9000, and MXL Switch.