Basic CLI Commands
Page 96
7950 SR OS Basic System Configuration Guide
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 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 —
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
Related
Commands
boot-bad-exec command on page 333 —
Use this command to configure a URL for a CLI script to exec
following a failed configuration boot.
boot-good-exec command on page 333 —
Use this command to configure a URL for a CLI script to exec
following a successful configuration boot.
exit
Syntax
exit
[
all
]
Context
<GLOBAL>
Description
This command returns to the context from which the current level was entered. For example, if you navi-
gated to the current level on a context by context basis, then the
exit
command only moves the cursor back
one level.
A:ALA-1# configure
A:ALA-1>config# router
A:ALA-1>config>router# ospf
A:ALA-1>config>router>ospf# exit
A:ALA-1>config>router# exit
A:ALA-1>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.
A:ALA-1# configure router ospf
A:ALA-1>config>router>ospf# exit
A:ALA-1#
The
exit all
command moves the cursor all the way back to the root
level.
A:ALA-1# configure
A:ALA-1>config# router
A:ALA-1>config>router# ospf
A:ALA-1>config>router>ospf# exit all
A:ALA-1#
Parameters
all —
Exits back to the root CLI context.
help
Summary of Contents for 7950 XRS Series
Page 8: ...Page 8 7950 SR OS Basic System Configuration Guide List of Tables...
Page 10: ...Page 10 7950 SR OS Basic System Configuration Guide List of Figures...
Page 14: ...Preface Page 14 7950 SR OS Basic System Configuration Guide...
Page 46: ...VI Editor Page 46 7950 SR OS Basic System Configuration Guide...
Page 76: ...File Management Tasks Page 76 7950 SR OS Basic System Configuration Guide...
Page 78: ...File Command Reference Page 78 7950 SR OS Basic System Configuration Guide...
Page 172: ...Basic CLI Commands Page 172 7950 SR OS Basic System Configuration Guide...
Page 184: ...Configuration Notes Page 184 7950 SR OS Basic System Configuration Guide...
Page 214: ...DNS Configuration Commands Page 214 7950 SR OS Basic System Configuration Guide...
Page 220: ...Show Commands Page 220 7950 SR OS Basic System Configuration Guide...
Page 494: ...System Commands Page 494 7950 SR OS Basic System Configuration Guide...
Page 500: ...Standards and Protocols Page 500 Standards and Protocols...