C613-50631-01 Rev A Command Reference for IE340 Series 498
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
SCRIPTING COMMANDS
WAIT
wait
Overview This command pauses execution of the active script for the specified period of
time.
Syntax
wait <delay>
Default No wait delay is specified by default.
Mode Privileged Exec (when executed from a script not directly from the command line)
Usage notes Use this command to pause script execution in an .scp (AlliedWare Plus™ script) or
an .sh (ASH script) file executed by the activate command. The script must contain
an enable command, because the wait command is only executed in the
Privileged Exec mode.
Example See an .scp script file extract below that will show port counters for interface
port1.0.2 over a 10 second interval:
Related
commands
activate
echo
enable (Privileged Exec mode)
Parameter Description
<delay> <1-65535> Specify the time delay in seconds
enableď€
ď€
show interface port1.0.2ď€
ď€
wait 10ď€
ď€
show interface port1.0.2