S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
2-35
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 2 Before You Begin
Command Scripts
This command is useful within scripts. For example, if you create a command script called test-script.
switch#
show file slot0:test-script
discover scsi-target remote
sleep 10
show scsi-target disk
switch#
run-script slot0:test-script
When you execute the slot0:test-script command script, the switch software executes the
discover
scsi-target remote
command, and then waits for 10 seconds before executing the
show scsi-target disk
command.