Setting The Delay Time - Cisco DS-X9530-SF1-K9 - Supervisor-1 Module - Control Processor Configuration Manual

Mds 9000 family
Table of Contents

Advertisement

Chapter 2
Before You Begin
Using the File System
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 .

Setting the Delay Time

The sleep command delays an action by a specified number of seconds.
The syntax for this command is sleep <seconds>
switch# sleep 30
You will see the switch prompt return after 30 seconds.
This command is useful within scripts. For example, if you 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 software executes the discover scsi-target remote
command, and then waits for 10 seconds before executing the show scsi-target disk command.
Cisco MDS 9000 Family Configuration Guide
2-28
OL-6973-03, Cisco MDS SAN-OS Release 2.x

Advertisement

Table of Contents
loading

Table of Contents