Platform Get Console Subcommand

access: All users

Retrieves the configuration information regarding the Service Processor access to the platform serial console.

platform get console [{-H|--noheader}][{-D | --delim <DELIMITER>}]

Arguments
Description

{-H | --noheader}

Suppresses column headers.
{ -D | --delim } Delimits columns with the specified delimiter. Headings are also delimited unless suppressed. The delimiter can be any character or string.

 

The following output displays when successful:

Rear Panel     Enabled	Speed	Pruning	Log	Trigger
SP Console		Yes 	115200 	No 		1024KB
or
Platform COMA 	No 		19200 	Yes 	64KB

One of the other lines of data displays depending on whether the rear panel serial port is connected to the platform or Service Processor.

Output Description

Enabled

Displays No if the external serial port is connected to the platform.

Otherwise, the external serial port is connected to the Service Processor console and you can access the platform serial console via the Service Processor command line or SM Console using the platform console command.

Speed Indicates the communications speed of the link.
Prune Indicates whether ANSI escape code and duplicate information pruning is enabled.
Log Trigger Indicates the approximate size at which log rotation occurs (for example, when the console.0 file is removed, the current log is moved to console.0 and a new log file is opened). Pruning of log file contents happens only when rotation occurs. The minimum size for a log file is 64KB, the maximum size is 1024KB.

 

Return Codes

Following are the return values for this command:

Code Numeric Code Description
NWSE_Success 0 Command successfully completed.
NWSE_InvalidUsage 1 Invalid usage: bad parameter usage, conflicting options specified.
NWSE_RPCTimeout 2 Request was issued, but was not serviced by the server. RPC procedure timed out and the request may or may not have been serviced by the server.
NWSE_RPCNotConnected 3 Unable to connect to the RPC server.
NWSE_NoPermission 6 Not authorized to perform this operation.

 

Related Topics

System Management Commands

Platform Command