Alcatel-Lucent 7210 SAS M Configuration Manual page 61

Service access switch
Hide thumbs Also See for 7210 SAS M:
Table of Contents

Advertisement

echo
Syntax
echo [text-to-echo] [extra-text-to-echo] [more-text]
Context
<GLOBAL>
Description
This command echoes arguments on the command line. The primary use of this command is to allow
messages to be displayed to the screen in files executed with the exec command.
Parameters
text-to-echo — Specifies a text string to be echoed up to 256 characters.
extra-text-to-echo — Specifies more text to be echoed up to 256 characters.
more-text — Specifies more text to be echoed up to 256 characters.
exec
Syntax
exec [-echo] [-syntax] {filename | [eof_string]}
Context
<GLOBAL>
Description
This command executes the contents of a text file as if they were CLI commands entered at the con-
sole.
Exec commands do not have no versions.
Parameters
-echo — Echo the contents of the exec file to the session screen as it executes.
-syntax — Perform a syntax check of the file without executing the commands. Syntax checking will
filename — The text file with CLI commands to execute.
<< — Stdin can be used as the source of commands for the exec command. When stdin is used as the
eof_string — The ASCII printable string used to indicate the end of the exec file when stdin is used as
Related
boot-bad-exec command on page 329 —
Commands
boot-good-exec command on page 329 —
7210 SAS M, T, X, R6 Basic System Configuration Guide
Default
Echo disabled.
be able to find invalid commands and keywords, but it will not be able to validate erroneous user-
supplied parameters.
Default
Execute file commands.
exec command input, the command list is terminated with <Ctrl-C>, "EOF<Return>" or
"eof_string<Return>".
If an error occurs entering an exec file sourced from stdin, all commands after the command
returning the error will be silently ignored. The exec command will indicate the command error
line number when the stdin input is terminated with an end-of-file input.
the exec file source. <Ctrl-C> and "EOF" can always be used to terminate an exec file sourced
from stdin.
Default
<Ctrl-C>, EOF
exec following a failed configuration boot.
exec following a successful configuration boot.
Use this command to configure a URL for a CLI script to
Use this command to configure a URL for a CLI script to
Root Commands
Page 61

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents