User Manual

InfiniBand Fabric Diagnostic UtilitiesRev 2.1-1.0.6
Mellanox Technologies
202
2. List the status of specific ports of specific devices.
> ibstatus mthca0:1 mlx4_0:2
Infiniband device 'mthca0' port 1 status:
default gid: fe80:0000:0000:0000:0002:c900:0101:d151
base lid: 0x0
sm lid: 0x0
state: 2: INIT
phys state: 5: LinkUp
rate: 10 Gb/sec (4X)
Infiniband device 'mlx4_0' port 2 status:
default gid: fe80:0000:0000:0000:0000:0000:0007:3897
base lid: 0x1
sm lid: 0x1
state: 4: ACTIVE
phys state: 5: LinkUp
rate: 20 Gb/sec (4X DDR)
9.10 ibportstate
Enables querying the logical (link) and physical port states of an InfiniBand port. It also allows
adjusting the link speed that is enabled on any InfiniBand port.
If the queried port is a switch port, then ibportstate can be used to
disable, enable or reset the port
validate the port’s link width and speed against the peer port
Synopsis
Output Files
Table 31 lists the various flags of the command.
ibportstate [-d] [-e] [-v] [-V] [-D] [-G] [-s <smlid>] \ [-C <ca_name>] [-P
<ca_port>] [-t <timeout_ms>] \ [<dest dr_path|lid|guid>]
<portnum> [<op> [<value>]]
Table 31 - ibportstate Flags and Options
Flag
Optional /
Mandatory
Default
(If Not
Specified)
Description
-h(help) Optional Print the help menu
-d(ebug) Optional Raise the IB debug level. May be
used several times for higher debug
levels (-ddd or -d -d -d)
-e(rr_show) Optional Show send and receive errors (time-
outs and others)