
SCS commands 60
Server CLI
The
Server CLI
command:
•
Specifies the console port type
•
Specifies the CLI access character
•
Enables or disables device connection from the console port
•
Specifies a modem initialization string
•
Specifies port history mode operations
•
Specifies a port time-out value
At least one parameter must be specified.
Access right:
SCON
Access level:
APPLIANCEADMIN
Syntax:
server cli [type=<type>] [char=^<char>] [connect=on|off]
[history=hold|auto,clear|keep] [modeminit=“<string>”] [timeout=<time-out>]
Table 5-14
Server CLI command parameters
Parameter Description
TYPE=<type>
Terminal type to be used on the console port. The entire name of the type must be specified.
Abbreviations are not permitted. Valid types are: ASCII, VT52, VT100, VT102, VT220, and
VT320.
Default: ASCII
CHAR=^<char>
CLI access character in the range A through _ (underscore). (The allowable ASCII range is
0x41-0x5F and 0x61-0x7A.) The CLI access character, when pressed simultaneously with the
Ctrl key during a session with an attached serial device, will suspend the session with the
device and place you in CLI command mode. This value will be used if the
Port Set
command of a port contains a
Char=None
parameter.
Default = ^d
CONNECT=ON|OFF
Enables or disables the ability to use the
Connect
command from the console port. When
enabled, a console port user can use the
Connect
command to establish a connection to the
serial device attached to another SCS serial port. When disabled, you cannot use the
Connect
command from the console port.
Default = ON
HISTORY=HOLD|AUTO,CLE
AR|KEEP
Port history file processing options during connection (
Hold
or
Auto
) and when a session ends
(
Clear
or
Keep
):
Hold
—Upon connection, you are informed of how much data is in the history buffer, but the
data is not displayed.
Auto
—Upon connection, you are informed of how much data is in the history buffer, and it is
then displayed.
Clear
—The history buffer content is cleared when a session ends.
Keep
—The history buffer content is retained when a session ends.
You cannot specify both
Clear
and
Keep
or both
Hold
and
Auto
.
Default = HOLD,CLEAR
MODEMINIT=“<string>”
Modem initialization string, enclosed in quotation marks. Must contain at least ATV1 and
S0=1.
Default = “” (no modem is attached to the console port)