A P P E N D I X B

Sun OEM IPMI Commands

This appendix contains the following sections:

- Section B.1, Get Version Command

- Section B.2, Get RTM Status Command

The commands described in this appendix are specific to Sun Netra CP3060 blade server designed by Sun Microsystems. The Internet Assigned Numbers Authority (IANA) number assigned to Sun Microsystems is 42.

Refer to `http://www.iana.org/assignments/enterprise-numbers` for more information about IANA number assignments.

The netfunction (NetFn) used for these commands is 0x2E, which is the OEM netfunction as defined in the IPMI specification. For this netfunction, the first three data bytes in the request packet must be this IANA number and the first three bytes in the response packet following the completion code are the IANA number. For Sun ATCA node blade servers, these three bytes are `00` `00` `2A`.

The Sun OEM IPMI commands are listed in TABLE B-1 and described in the following sections.

TABLE B-1 Sun OEM IPMI Commands
Command | Opcode | Syntax
--- | --- | ---
`Get Version` | 0x80 | `#GET_VERSION`
`Get RTM status` | 0x88 | `#GET_RTM_STATUS`

##

B.1 `Get` `Version` Command

`Get` `Version` returns the IPM controller (IPMC) firmware version and Standby CPLD version. Bytes 8, 9, and A are reserved for future use.

Command | NetFn | Opcode | Reference
--- | --- | --- | ---
`Get` `Version` | 0x2E (OEM) | 0x80 | - -

Data Bytes

Type | Byte | Data Field
--- | --- | ---
Request data | Byte1 | 00
Byte2 | 00
Byte3 | 2A
Response data | Byte1 | Completion code: 00 = OK C1 = Command not supported CC = Invalid data in request (Refer to IPMI specification for more completion codes)
Byte2 | 00
Byte3 | 00
Byte4 | 2A
Byte5 | CPLD version
Byte6 | REV1 byte of IPMC firmware
Byte7 | REV2 byte of IPMC firmware
Byte8 | Reserved for future use (ignore)
Byte9 | Reserved for future use (ignore)
ByteA | Reserved for future use (ignore)

##### Example (Terminal Mode):

`[B8 00 80 00 00 2A] <-------`Request
`[BC 00 80 00 00 00 2A 02 02 00 00 00 00] <----Response`

- The IPMC version is read as:

lower nibble of REV1 . high nibble of REV2 . low nibble of REV2

In the preceding example, the IPMC version is `2.0.0.`

- The CPLD version is read as:

-> lower nibble of CPLD version byte

In the example, the CPLD version is `2.`

##

B.2 `Get` `RTM Status` Command

`Get` `RTM` `Status` can be used to detect the presence of a rear transition module (RTM) in the system.

Command | NetFn | Opcode | Reference
--- | --- | --- | ---
`Get` `RTM` `Status` | 0x2E (OEM) | 0x88 | CPLD Specification

Data Bytes

Type | Byte | Data Field
--- | --- | ---
Request data | Byte1 | 00
Byte2 | 00
Byte3 | 2A
Response data | Byte1 | Completion code: 00 = OK C1 = Command not supported CC = Invalid data in request
Byte2 | 00
Byte3 | 00
Byte4 | 2A
| Byte5 | RTM presence Bits 7 to 1 = 0 Bits 0 = RTM presence (0 = RTM not detected, 1 = RTM detected)

##### Example (Terminal Mode):

`[B8 00 88 00 00 2A] <------`Request
`[BC 00 88 00 00 00 2A 01] <------Response`

Copyright © 2009 Sun Microsystems, Inc. All rights reserved.