Cisco Cisco Packet Data Gateway (PDG)

Pagina di 2186
Obtaining CLI Help
The CLI provides context-sensitive help for every command token and keyword available to you. To obtain,
use one of these methods:
• Command Help: Command help provides assistance for a specific command. Type a question mark
(?) at the end of the specific command to accesses help.
[local]
host_name
#
test?
test - Performs test on followed mechanism
• Keyword Help: Keyword help provides assistance in determining the next keyword, argument, or option
to use in the command syntax. Enter the command keyword, enter a space, and then type a question
mark (?).
[local]
host_name
#
test alarm ?
audible - Tests internal audible alarm buzzer on SPC
central-office - Tests specified central office alarm relays
<cr> - newline
• Variable Help: Variable help provides the correct format, value, or information type for each variable
that is part of the command syntax. For commands with variables, enter the command keyword, enter
a space, and then type a question mark (?).
[local]
host_name
#
show card info ?
<Enter card number as an integer ranging 1 to n>
| - Pipeline
<cr> - Carriage Return or <Enter> key
Exiting the CLI and CLI Command Modes
A CLI session is defined as the successful login into the CLI. When you establish a CLI session, you are
placed into the system's Exec Mode. Depending upon your user privilege level, you can:
• Use the local context to perform system management functions.
• Move to an assigned context and work in Exec Mode.
• Move to an assigned context as an administrative user and work in Global Configuration Mode or other
configuration sub-mode.
This section addresses how to properly exit the various modes and the CLI.
Exiting Configuration Sub-modes
To exit a configuration sub-mode and return to the next highest configuration sub-mode or Global Configuration
Mode, type the exit command at the system prompt.
[context_name]
host_name
(config-ctx)#
exit
[local]
host_name
(config)#
The CLI supports implicit mode-exits when using configuration files. Therefore, configuration files do
not have to contain all of the required exit commands for you to leave various sub-config modes.
Important
   Command Line Interface Reference, Modes A - B, StarOS Release 19
16
Command Line Interface Overview
Obtaining CLI Help