Owner manual

AM456-9026A HP VMA SAN Gateway Users Guide 149
CLI Option Commands
The following groups of commands relate to the CLI itself:
cli session ... commands change a setting only for the current CLI session. They do not
affect any other sessions, and can be performed by any user at any time. All of these
commands are INTERACTIVE (not available from the Scheduler).
cli default ... commands change the defaults for the specified setting for all future CLI
sessions of all users. They also change the setting for the current session from which they were
executed, but not for any other currently active sessions. Since they change configuration, the
user must be in Configure mode to run them, and hence they can only be run by admin.
Other
cli ... commands which take one-time actions, rather than change a setting, and thus
do not fall under the session or default umbrellas. For example,
cli clear-history.
terminal ... commands are clones of a subset of the cli session ... commands, and
are only present for Cisco compatibility. All of these commands are INTERACTIVE (not
available from the Scheduler).
Note that some settings, such as the terminal length and width, are inherently session-specific, and
there are no corresponding commands to set the defaults in configuration.
Control User Inactivity
cli default auto-logout <length in minutes>
cli session auto-logout <length in minutes>
no cli default auto-logout
no cli session auto-logout
Control the length of user inactivity required before the CLI will automatically log a user out. The
no ... variants of this command disable the automatic logout feature.
If you omit the
:password part, you may be prompted for the
password in a follow up prompt, where you can type it securely
(without the characters being echoed). This prompt will occur only if
the "cli default prompt empty-password" setting is true; otherwise,
the CLI assumes you do not want any password.
If you include the
:S character, this is taken as an explicit
declaration that the password is empty, and you will not be prompted
in any case.
INTERACTIVE A command that is only available for interactive usage from the CLI
shell. Specifically, this excludes using the command from jobs,
because the Scheduler runs commands in a batch mode with no
direct user interactivity. In most cases, it is obvious why each of
these commands has the INTERACTIVE restriction.