Documentation, Support, and Training
Understanding Hardware Commands
Reads and writes CXP cable registers.
connector number present|read reg|write reg data
where:
number is the number of the connector (0A–11B).
reg is the data register to act upon.
data is the value to write to the register (in decimal).
This hardware command performs a pass-fail test to verify that an InfiniBand cable is connected to a particular connector. The command can also read the data registers of the cable and write data to those registers.
Note - The values read from and stored in the registers are hexadecimal. When writing to the register, the data is automatically converted from decimal to hexadecimal.
The following table provides more commonly read registers and a description of their contents.
|
The following table describes the options to the connector command and their purposes:
|
The following example shows how to write a value of 14 (E in hexadecimal) to register 218 of connector 1A with the connector command.
# connector 1A read 218 Read connector 1A reg 218 value 0xff # connector 1A write 218 14 Write connector 1A reg 218 value 0E # connector 1A read 218 Read connector 1A reg 218 value 0x0E #