Sleep - Cisco AJ732A - MDS 9134 Fabric Switch Command Reference Manual

Cisco mds 9000 family command reference guide - release 4.x (ol-18089-01, february 2009)
Hide thumbs Also See for AJ732A - Cisco MDS 9134 Fabric Switch:
Table of Contents

Advertisement

Chapter 21
S Commands
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

sleep

To delay an action by a specified number of seconds, use the sleep command.
Syntax Description
seconds
Defaults
None.
Command Modes
EXEC mode.
Command History
Release
1.0(2)
Usage Guidelines
This command is useful within scripts.
Examples
The following example shows how to create a 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, the switch executes the discover scsi-target remote command,
and then waits for 10 seconds before executing the show scsi-target disk command.
The following example shows how to delay the switch prompt return.
switch# sleep 30
You will see the switch prompt return after 30 seconds.
OL-18089-01, Cisco MDS NX-OS Release 4.x
sleep {seconds}
Specifies the delay in number of seconds. The range is 0 to 2147483647.
Modification
This command was introduced.
Cisco MDS 9000 Family Command Reference
sleep
21-37

Advertisement

Table of Contents
loading

Table of Contents