Owner's Manual
Smart Scripting CLI | 91
The script runs in the background.
Command Modes
CONFIGURATION
Command
History
Usage
Information
All times selected follow the system time of the switch. The maximum number of
scripts to execute is 100. An error message displays when you exceed the limit.
If the supervised scripts exit (normally or in an unexpected manner):
• Within 10 minutes from the start, the supervised script(s) is restarted (three
retries).
• More than three times within 10 minutes, the script is in
Blocked state,
which you can reset using the
script clear command.
• TACACS/RADIUS user(s) are not supported.
• Only the person who configured the scheduled scripts (or a higher privileged
user) can change them.
script execute triggered-by
,
Z9000, Z9500,
MXL Switch
Schedule the script to execute on the occurrence of the configured event.
Syntax
script execute scriptname [concurrent] triggered-by event-name [args arguments]
[username username]
stop at time/date (Optional) Enter the keywords stop at with the time and date in
HH:MM-MM/DD/YY format to stop executing the script. The date
must be a future date.
stop after time (Optional) Enter the keywords stop after followed by the time in
HH:MM format to indicate the time after which the script stops
executing. For example, “stop after 00:30” indicates to stop the script
execution 30 minutes after the start time.
watch Enter the keyword watch to monitor the script.
args arguments Enter the keyword args followed by the arguments to be scripted.
The maximum length is 64 characters. The arguments can be any
number of words within quotes (“) and separated by a space.
username username Enter the username to be used when the script executes. The
maximum length is 16 characters. The default username is the user
configuring the CLI.
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.