Command Reference Guide
Configuration Scripting Commands
CLI Command Reference
September 2014 Page 135
HP Moonshot Switch Module CLI Command Reference
script apply
This command applies the commands in the script to the switch. The scriptname parameter is the name of the
script to apply.
script delete
This command deletes a specified script where the scriptname parameter is the name of the script to delete.
The
all option deletes all the scripts present on the switch.
script list
This command lists all scripts present on the switch as well as the remaining available space.
script show
This command displays the contents of a script file, which is named scriptname.
script validate
This command validates a script file by parsing each line in the script file where scriptname is the name of the
script to validate.The validate option is intended to be used as a tool for script development. Validation
identifies potential problems. It might not identify all problems with a given script on any given device.
Format
script apply scriptname
Mode Privileged EXEC
Format
script delete {scriptname | all}
Mode Privileged EXEC
Format
script list
Mode Privileged EXEC
Term Definition
Configuration
Script
Name of the script.
Size Privileged EXEC
Format
script show scriptname
Mode Privileged EXEC
Term Definition
Output Format
line number: line contents
Format
script validate scriptname
Mode Privileged EXEC