Navigating in the CLI
Page 22
7950 SR OS Basic System Configuration Guide
Basic CLI Commands
The console control commands are the commands that are used for navigating within the CLI and
displaying information about the console session. Most of these commands are implemented as
global commands. They can be entered at any level in the CLI hierarchy with the exception of the
password
command which must be entered at the ROOT level. The console control commands
Table 2: Console Control Commands
Command
Description
Page
<Ctrl-c>
Aborts the pending command.
<Ctrl-z>
Terminates the pending command line and returns to the ROOT
context.
back
Navigates the user to the parent context.
clear
Clears statistics for a specified entity or clears and resets the entity.
echo
Echos the text that is typed in. Primary use is to display messages to
the screen within an
exec
file.
exec
Executes the contents of a text file as if they were CLI commands
entered at the console.
exit
Returns the user to the previous higher context.
exit all
Returns the user to the ROOT context.
help
?
Displays help in the CLI.
history
Displays a list of the most recently entered commands.
info
Displays the running configuration for a configuration context.
logout
Terminates the CLI session.
oam
Provides OAM test suite options. See the OAM section of the SR OS
OAM and Diagnostic Guide.
password
Changes the user CLI login password. The password can only be
changed at the ROOT level.
ping
Verifies the reachability of a remote host.
pwc
Displays the present or previous working context of the CLI session.
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...