This command displays and changes the timeout of the TCP command-mode sessions that are used by optional management devices, such as the Lenovo XClarity Administrator or Flex System Manager software, for out-of-band communication with the CMM. This command is also used to enable or disable the TCP command-mode sessions.
If command syntax is not correctly entered, or if a command fails to run, an error message is returned. See Common errors for a list of error messages that apply to all commands or tcpcmdmode command errors for a list of error messages that are specific to the tcpcmdmode command.
Function | What it does | Command | Target (see paths in Command targets) |
---|---|---|---|
Display TCP command-mode session status and timeout | Displays the secure and non-secure TCP command-mode session status (maximum number of sessions) and timeout. | tcpcmdmode | Primary CMM:
|
Set TCP command-mode session timeout | Sets the secure and non-secure TCP command-mode session timeout value. | tcpcmdmode
-t timeout where timeout is from 0 seconds (no timeout) to 4294967295 seconds, inclusive. If you enter a value outside this range, an error will be displayed. This command
can only be run by users who have one or more of the following command
authorities:
|
Primary CMM:
|
Disable TCP command-mode sessions | Disables TCP command-mode sessions that are used by optional management devices for out-of-band communication with the CMM. This applies to both read and write operations. | tcpcmdmode -status
0 This command can only be run by users who have one
or more of the following command authorities:
|
Primary CMM:
|
Enable and set number of TCP command-mode sessions | Enables TCP command-mode and sets the maximum number
of sessions that can be used by optional management devices for out-of-band
communication with the CMM.
For read operations, all of the values from 1 to 20, inclusive, mean enabled. Note:
|
tcpcmdmode -status number_sessions where number_sessions is from 1 to 20, inclusive. (A value of 0 disables TCP command-mode sessions.) If you enter a value outside this range, an error will be displayed. This
command can only be run by users who have one or more of the following
command authorities:
|
Primary CMM:
|
Disable secure TCP command-mode sessions | Disables secure TCP command-mode sessions that are used by optional management devices for out-of-band communication with the CMM. This applies to both read and write operations. | tcpcmdmode -sstatus
0 This command can only be run by users who have one
or more of the following command authorities:
|
Primary CMM:
|
Enable and set number of secure TCP command-mode sessions | Enables secure TCP command-mode and sets the maximum
number of sessions that can be used by optional management devices
for out-of-band communication with the CMM.
For read operations, all of the values from 1 to 20, inclusive, mean enabled. Note: The CMM supports
a combined total of up to 20 secure and non-secure TCP command-mode
sessions.
|
tcpcmdmode -sstatus number_sessions where number_sessions is from 1 to 20, inclusive. (A value of 0 disables secure TCP command-mode sessions.) If you enter a value outside this range, an error will be displayed. This command can only be run by users who have
one or more of the following command authorities:
|
Primary CMM:
|
tcpcmdmode -sstatus 5
tcpcmdmode -t 360
tcpcmdmode
The following example shows the information that is returned from these commands:
system:mm[1]> tcpcmdmode -sstatus 5 OK system:mm[1]> tcpcmdmode -t 360 OK system:mm[1]> tcpcmdmode -sstatus 5 connections -status 1 connection -t 360 seconds system:mm[1]>