Documentation, Support, and Training
Understanding ILOM on the Switch
Administering ILOM (Web Interface)
Understanding Switch-Specific Commands
activate Command (switch-specific)
deactivate Command (switch-specific)
Manages the state and link speed of an InfiniBand port. Issued on the Linux InfiniBand host.
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 software 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 15, port 14 with the ibportstate command.
# ibportstate 15 14 PortInfo: # Port info: Lid 15 port 14 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 15 DR path slid 1; dlid 65535; 0,14 port 10 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