CLI Usage
58
7210 SAS-M, T, R6, R12, Mxp, Sx, S Basic System
Configuration Guide
3HE 16132 AAAB TQZZA Edition: 01
Use this command to configure a URL for a CLI script to exec following a successful
configuration boot.
Parameters -echo — Keyword to echo the contents of the exec file to the session screen as it
executes.
Default Echo disabled.
-syntax — Keyword to perform a syntax check of the file without executing the
commands. Syntax checking finds invalid commands and keywords, but it will not be
able to validate erroneous user-configured parameters.
Default Execute file commands.
file-name — 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 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.
eof_string — Specifies the ASCII printable string used to indicate the end of the exec file
when stdin is used as the exec file source. <Ctrl-C> and “EOF” can always be used
to terminate an exec file sourced from stdin.
Default <Ctrl-C>, EOF
exit
Syntax exit [all]
Context <GLOBAL>
Supported
Platforms
Supported on all 7210 SAS platforms as described in this document, including those
operating in access-uplink mode
Description This command returns to the context from which the current level was entered. For example,
if you navigated to the current level on a context by context basis, then the exit command
only moves the cursor back one level.
A:Dut-G# configure
A:Dut-G>config# service
A:Dut-G>config>service# vpls 1
A:Dut-G>config>service>vpls# exit
A:Dut-G>config>service# exit
A:Dut-G>config# exit
If you navigated to the current level by entering a command string, then the exit command
returns the cursor to the context in which the command was initially entered.