CLI Usage
7210 SAS M, X Basic System Configuration Guide Page 21
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 
are listed in Table 2. 
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. 46
clear
Clears statistics for a specified entity or clears and resets the entity. 46
echo
Echos the text that is typed in. Primary use is to display messages to 
the screen within an 
exec file.
47
exec
Executes the contents of a text file as if they were CLI commands 
entered at the console.
47
exit
Returns the user to the previous higher context. 47
exit all
Returns the user to the ROOT context. 48
help
?
Displays help in the CLI.  48
history
Displays a list of the most recently entered commands. 50
info
Displays the running configuration for a configuration context. 50
logout
Terminates the CLI session. 51
oam
Provides OAM test suite options. See the OAM section of the 7210 
SAS OS OAM and Diagnostic Guide.
password
Changes the user CLI login password. The password can only be 
changed at the ROOT level.
52
ping
Verifies the reachability of a remote host. 52
pwc
Displays the present or previous working context of the CLI session. 54