Owner's Manual
Smart Scripting CLI | 93
script get
,
Z9000, Z9500,
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:
• flash: Copy from the flash file system (flash://filepath)
• ftp: Copy from the remote file system (ftp://userid:password@hostip/filepath)
• http: Copy from the remote file system (http://hostip/filepath)
• scp: Copy from the remote file system (scp://userid:password@hostip/filepath)
• ftp: Copy from the remote file system (tftp://hostip/
/filepath)
The downloaded files are stored into a dedicated folder (/usr/pkg/ss-scripts).
script list execute
,
Z9000, Z9500,
MXL Switch
Configure a list of scripts to run when the switch is rebooted. The scripts may be run
before or after loading the configuration file.
Syntax
script list execute list-name {on-boot | networkup}
To delete the list of scripts for an event, use the no script list execute command.
url Enter the keyword url followed by the URL location of the script to
download to a 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.
Note: In case of stack, the scripts from the ss-scripts will be synchronized across the stack for
every one hour. When the stack forms first, the script synchronization from the master to
members will happen only after 10 minutes.