Administrator Guide

Switch Management Commands 1958
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 displays the contents of the script file
config.scr
.
console#script show config.scr
interface gigabitethernet 1/0/1
ip address 176.242.100.100 255.255.255.0
exit
script validate
Use the script validate command in Privileged Exec mode to validate a script
file by parsing each line in the script file.The validate option is intended for
use as a tool in script development. Validation identifies potential problems
though it may not identify all problems with a given script.
Syntax
script validate
scriptname
scriptname
— Name of the script file being validated. (Range: 1-31
characters)
Default Configuration
This command has no default configuration.
Command Mode
Privileged Exec mode
2CSNXXX_SWUM204.book Page 1958 Monday, January 25, 2016 1:25 PM