Setting The Delay Time - Cisco AJ732A - MDS 9134 Fabric Switch Configuration Manual

Cisco nexus 5000 series switch cli software configuration guide, nx-os 4.0(1a)n1 (ol-16597-01, january 2009)
Hide thumbs Also See for AJ732A - Cisco MDS 9134 Fabric Switch:
Table of Contents

Advertisement

Chapter 2
Using the Command-Line Interface
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
-------------------------------------------------------------------------------
Interface
-------------------------------------------------------------------------------
fc2/1 1 auto on sfpAbsent -- -- -- \

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 command script called test-script.
switch# show file bootflash:test-script
discover scsi-target remote
sleep 10
show scsi-target disk
switch# run-script bootflash:test-script
When you execute the 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.
OL-16597-01
Vsan
Admin
Admin
Status
Mode
Trunk
Mode
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
SFP
Oper
Oper
Port
Mode
Speed
Channel
(Gbps)
Command Scripts
2-13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents