Script file commands, Repeating a series of commands (repeat) – Dell Emulex Family of Adapters User Manual

Page 508

Advertising
background image

Offline and Online Adapter Management Utilities Version 10.2 User Manual

P010071-01A Rev. A

4. Offline Adapter Management Utility Command Line Interface

Using Script Files

508

Script File Commands

The following is a sample script file. Each command follows the syntax covered above.

The comment lines begin with a semicolon (;):

version

screendisplay o=0

;download a=lpe11000 i=c:\temp\zd272a2.all

;reset n=1 s=0

;reset n=2 s=0

reset n=all s=0

listboot n=1

enableboot n=1 i=2

; pciloopback n=1 r=10 o=1

; pciloopback n=2 r=10 o=2

; pciloopback n=all r=50 o=3

intloopback n=1 r=10 o=1

intloopback n=2 r=10 o=1

extloopback n=1 r=40 o=3

extloopback n=2 r=40 o=3

;repeat r=10

Repeating a Series of Commands (repeat)

Enter this command at the end of a script file to repeat a series of commands from the

beginning of the script file a specific number of times.

Note: To interrupt and stop the repeat command, press <S> on the keyboard.

To repeat the series of commands in the script file, add the following as the last line of

the file:

repeat r=<repeat count>

The following example repeats the series of commands in the script file 10 times.

repeat r=10

Enabling or Disabling Test Messages on the Screen
(screendisplay)

This command enables or disables test message display on the screen.

o=0 – Prevents messages from appearing

o=1 – Enables messages

Note: This command is supported only in script files.

To enable or disable test message displays, add the following line to the script:

screendisplay o=<display option>

Advertising