BelAir20E User Guide
User and Session Administration
April 2, 2012
Confidential
Document Number BDTM02201-A01 Standard
Configuring the Session
Timeout Interval
/system/set global-session-timeout <period>
/system/set session-timeout <period>
/system/show global-session-timeout
By default, a CLI session is automatically disconnected if it is idle for longer than
30 minutes. These commands allows you to change the idle period, preventing
unwanted disconnections. The idle period is specified in minutes. Setting a
period of 0 prevents any automatic disconnection.
The
set global-session-timeout
command changes the idle period of all CLI
sessions. Its <period> parameter ranges from 1 to 1440; that is up to 24 hours.
You cannot specify 0 as the global session idle period. You must be logged in as
root
to use this command.
The
set session-timeout
command changes the idle period of only the current
CLI sessions. Its <period> parameter ranges from 0 to 1440; that is up to
24 hours. The session timeout period overrides the global timeout period.
The new idle period takes effect immediately and to all current and future
sessions; until changed with these commands again.
The
show
command displays the settings for the global timeout period. To see
the setting for the session, use the
/system/show sessions
command.
Example
/system# set idle-timeout 60
CLI Prompt
Customization
/system/set prompt selection [default|string|switch-name}
/system/set prompt string <20-char_string>
/system/show prompt
The
set prompt selection
command customizes the prompt for CLI sessions.
The choices are as follows:
•
default
, where the CLI prompt includes the current command mode only
•
switch-name
, where the CLI prompt includes the current command mode
and the first eight characters of the switch name described in
Identification Parameters” on page 50
•
string
, where the CLI prompt includes the current command mode and the
20-character string as defined by the
set prompt string
command. The string
can consist of any 20 ASCII characters, except for the semicolon (;).
The
show prompt
command displays the current prompt settings.