Documentation, Support, and Training
Understanding Hardware Commands
Manages the state and link speed of an InfiniBand port.
ibportstate [-d][-D][-e][-G][-h][-s smlid][-v][-C ca_name][-P ca_port][-t timeout] lid|dr_path|guid port [op]
where:
smlid is the Subnet Manager LID.
topology is the topology file.
ca_name is the channel adapter name.
ca_port is the channel adapter port.
timeout is the timeout in milliseconds.
lid is the local identifier.
dr_path is the directed path.
guid is the global unit identifier.
port is the port being validated.
op is the operation to perform on the port:
enable
disable
reset
speed number (where number is 1 for SDR, 2 for DDR, and 4 for QDR)
query (default)
This InfiniBand command queries the logical and physical state of an InfiniBand port. The command can return the link width and speed of a switch port, as well as enabling, disabling, or resetting the port. The command can also set the link speed of any InfiniBand port.
Note - Speed changes are not affected until the port undergoes link renegotiation. Additionally, speed values are additive for enabling. For example, speed 7 is 2.5, 5.0, and 10.0 Gbyte/sec.
The following table describes the options to the ibportstate command and their purposes:
|
The following example shows how to query the state and link speed of LID 24, port 8 with the ibportstate command.
# ibportstate 24 8 PortInfo: # Port info: Lid 24 port 8 LinkState:.......................Active PhysLinkState:...................LinkUp LinkWidthSupported:..............1X or 4X LinkWidthEnabled:................1X or 4X LinkWidthActive:.................4X LinkSpeedSupported:..............2.5 Gbps or 5.0 Gbps or 10.0 Gbps LinkSpeedEnabled:................2.5 Gbps or 5.0 Gbps or 10.0 Gbps LinkSpeedActive:.................10.0 Gbps Peer PortInfo: # Port info: Lid 24 DR path slid 25; dlid 65535; 0,8 port 2 LinkState:.......................Active PhysLinkState:...................LinkUp LinkWidthSupported:..............1X or 4X LinkWidthEnabled:................1X or 4X LinkWidthActive:.................4X LinkSpeedSupported:..............2.5 Gbps or 5.0 Gbps or 10.0 Gbps LinkSpeedEnabled:................2.5 Gbps or 5.0 Gbps or 10.0 Gbps LinkSpeedActive:.................10.0 Gbps #
ibportstate man page