CLI Reference Guide

Configuration and Image File Commands 343
Command Mode
Privileged EXEC mode
User Guidelines
This command has no user guidelines.
Example
The following example applies the
config.scr
script to the switch.
console#script apply config.scr
script delete
Use the
script delete
command in Privileged EXEC mode to delete a specified script.
Syntax
script delete
{
scriptname
|all}
scriptname
—Script name of the file being deleted. (Range 1-31 characters)
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode
User Guidelines
This command has no user guidelines.
Example
The following example deletes all scripts from the switch.
console#script delete all
script list
Use the
script list
command in Privileged EXEC mode to list all scripts present on the switch as
well as the remaining available space.
Syntax
script list
Default Configuration
This command has no default configuration.