Executes a block or sequence of commands in a script file.
Discussion |
 |
The script file must reside on the node on which NetCI is
installed before you can execute it. While the script file is executing,
input from the keyboard is temporarily deactivated since input is
from the file. After script file execution, you can resume with
input from the keyboard.
This command cannot be used within a script file.
Examples
Example 1
This example shows the PLAY command executing
a script file named SCRIPT1 on
default node K. The parameter,
FINANCE, will be used whenever
!1 is encountered in the file since
this is the first parameter specified after the file name. Refer
to the following page for more information.
The script file will be executed two times, and data will
be gathered each time.
Example 2
This example executes the script file twice on all nodes that
are members of a list named LIST1.
NetCI>LIST1 PLAY 2 SCRIPT1 FINANCE
|