Avaya M770 Manual Do Utilizador

Página de 338
Chapter 21
Command Line Interface Scripts
Avaya M770 ATM Switch User’s Guide
263
Script Execution Log
When script output was directed into a log, use the 
script log show
 command 
to observe results of the script's commands running.
Note:  
The script execution log will be destroyed automatically if isn't accessed 
during 30 minutes, in order to release memory allocated for the log.
The log may also be cleared on demand. To clear the log, use the 
script log 
clear
 command.
Running a CLI script on a multiple modules
It is possible to run the same command script on several or all modules of the M770 
ATM switch simultaneously. Simultaneous execution of a script can significantly 
minimize effort needed for initial configuration of switch containing many 
modules.
In order to run a script on multiple modules, connect to Master Agent module via a 
serial terminal, Telnet or MSP-X connection:
Note:  
You should ensure that there is enough space in all of the modules’ flash file 
system (see Chapter 19) before you download and run the script.
1
Download the script file to the Master Agent module 
system download
2
Perform the 
script run
 command.
Command:
M15-155s8:/> script log show
Output:
If the script file execution finished, this command will print results 
of each command executed
If no output was produced or the log was cleared (see below), the 
following message will appear: 
Log is empty
.
If the script execution is currently in progress, the following 
message will appear:
This command can not be accessed for the moment, 
because a script file is currently running. You 
can use script stop command to abort the 
execution.
Execution progress: 57%
Command:
M15-155s8:/> script log clear
Output:
Done