tcpcmdmode command

This command displays and changes the timeout of the TCP command-mode sessions that are used by IBM Director software for out-of-band communication with the management module. This command is also used to enable or disable the TCP command-mode sessions.

Table 1. tcpcmdmode command
Function What it does Command Valid targets
Display TCP command-mode session status and timeout Displays the TCP command-mode session status (on or off) and timeout. tcpcmdmode
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Set TCP command-mode session timeout Sets the 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.

Command use restricted (see Commands and user authority).

                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Enable / disable TCP command-mode sessions Enables or disables TCP command-mode sessions that are used by IBM Director software for out-of-band communication with the management module. tcpcmdmode -status state

where state is on or off.

Command use restricted (see Commands and user authority).

                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Example: To enable a TCP command-mode session for the primary management module, while management module 1 is set as the persistent command environment, at the system:mm[1]> prompt, type
                  tcpcmdmode -status on
               
To set the TCP command-mode session timeout for the primary management module to 6 minutes, while management module 1 is set as the persistent command environment, at the system:mm[1]> prompt, type
                  tcpcmdmode -t 360
               
To display the TCP command-mode session status and timeout for the primary management module, while management module 1 is set as the persistent command environment, at the system:mm[1]> prompt, type
                  tcpcmdmode
               

The following example shows the information that is returned from these two commands:

               system:mm[1]> tcpcmdmode -status on
OK
system:mm[1]> tcpcmdmode -t 360
OK
system:mm[1]> tcpcmdmode
-status on
-t 360
system:mm[1]>