Administrator Guide
arguments
arg [..args]
Enter the keyword arguments then the arguments to script.
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 keyword username to use when the script
executes. The maximum length is 16 characters. The default
username is the user configuring the CLI.
bg
Enter the keyword bg to schedule scripts to run in the
background.
Defaults The script runs in the foreground.
Command
Modes
EXEC
Command
History
This guide is platform-specific. For command information about other platforms,
refer to the relevant Dell Networking OS Command Line Reference Guide.
The following is a list of the Dell Networking OS version history for this command.
Version Description
9.7(0.0) Introduced on the S4810, S4820T, S5000, S6000, Z9000,
Z9500, and MXL.
9.6(0.0) Introduced on the S5000.
9.5(0.1) Introduced on the Z9500.
9.3(0.0) Introduced on the S6000.
9.2(0.0) Introduced on the S4810, S4820T, Z9000, and MXL Switch.
Usage
Information
All times selected follow the system time of the switch. The maximum number of
scripts to configure is 100. An error message displays when you exceed the limit.
• Only the person who configured the scheduled scripts (or a higher privileged
user) can manage the script.
• If you do not provide the username, the system uses current session username.
If the script is triggered from the console, the system uses the Dell Networking
OS default username (smartuser).
Example
Dell#script execute collect_log.py start at 22:22-10/30/14
stop after 0001:0000 args "Te 0/5" bg
This example illustrates that the script execution starts at 22:22 10/30/14
(MM/DD/YY) and stops after 1 hour and the script runs in the background.
86
Smart Scripting CLI