8: Devices
SLC™ Console Manager User Guide
110
parameters. The preprocessor will require that these commands appear only as the first element
of a command line. The start of a command line is delimited by any of the following:
The start of a new line of text in the script
A semicolon (;)
A left brace ({)
set
The set command assigns a value to a variable. Syntax:
set <variable> <value>
where <variable> is a word, and <value> can be defined in one of the following ways:
A quoted string
A word
A variable reference
A value generated via one of the string secondary commands (compare, match, first, etc.)
A value generated via the expr secondary command
A value generated via the format secondary command
A value generated via the expr timestamp command
unset
This command removes the definition of a variable within a script. Syntax:
unset <variable>
where <variable> is a word.
scan
The
scan
command is analogous to the C language scanf(). Syntax:
scan <variable> <format string> <value 1> <value 2>... <value n>
where <variable> a variable reference, and <format string> is a quoted string. Each of the <value
x> elements will be a word.
sleep
The sleep command suspends execution of the script (puts it to 'sleep') for the specified number of
seconds. Syntax:
sleep <value>
where <value> can be a word, a quoted string or a variable reference.
exec
The exec command executes a single CLI command. Currently only CLI 'show' commands may be
executed via exec. Syntax:
exec <CLI command>
Содержание SLC8
Страница 1: ...Part Number 900 449 Revision I November 2013 SLC Console Manager User Guide SLC8 SLC16 SLC32 SLC48...
Страница 49: ...6 Basic Parameters SLC Console Manager User Guide 49 Figure 6 1 Network Web Page...
Страница 84: ...8 Devices SLC Console Manager User Guide 84 Figure 8 3 Device Ports Settings Page...
Страница 121: ...9 PC Cards SLC Console Manager User Guide 121 Figure 9 3 PC Card Modem ISDN Page...
Страница 135: ...11 Connections SLC Console Manager User Guide 135 Figure 11 5 Console Server...