Setting The Delay Time; Role-Based Cli - Cisco MDS 9000 series Command Reference Manual

Hide thumbs Also See for MDS 9000 series:
Table of Contents

Advertisement

Chapter 1
CLI Overview
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.

Role-Based CLI

By default, two roles exist in all switches:
When you execute a command, perform command completion, or obtain context sensitive help, the
switch software allows the operation to progress if you have the correct permission as specified in the
description of the command.
OL-8413-07, Cisco MDS SAN-OS Release 3.x
0 EOF abort, 0 fragmented, 0 unknown class
0 frames output, 0 bytes, 0 discards
Received 0 OLS, 0 LRR, 0 NOS, 0 loop inits
Transmitted 0 OLS, 0 LRR, 0 NOS, 0 loop inits
Counter Values (5 minute averages):
0 frames input, 0 bytes, 0 discards
0 runts, 0 jabber, 0 too long, 0 too short
0 input errors, 0 CRC, 0 invalid transmission words
0 address id, 0 delimiter
0 EOF abort, 0 fragmented, 0 unknown class
0 frames output, 0 bytes, 0 discards
Received 0 OLS, 0 LRR, 0 NOS, 0 loop inits
Transmitted 0 OLS, 0 LRR, 0 NOS, 0 loop inits
Network operator—Has permission to view the configuration.
Network administrator—Has permission to execute all commands and to set up to 64 permission
levels based on user roles and groups.
Cisco MDS 9000 Family Command Reference
Role-Based CLI
1-39

Advertisement

Table of Contents
loading

Table of Contents