Sleep - Cisco MDS 9124 - Fabric Switch Reference

Cisco mds 9000 family command reference - cisco mds san-os release 3.0(1) through 3.3(1a) (ol-16217-01, april 2008)
Hide thumbs Also See for Cisco MDS 9124 - Fabric Switch:
Table of Contents

Advertisement

sleep

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.
Cisco MDS 9000 Family Command Reference
21-32
sleep {seconds}
Specifies the delay in number of seconds. The range is 0 to 2147483647.
Modification
This command was introduced.
Chapter 21
OL-16217-01, Cisco MDS SAN-OS Release 3.x
S Commands

Advertisement

Table of Contents
loading

Table of Contents