Switch Management Commands 1865
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 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
User Guidelines
This command has no user guidelines.