User Manual
Rev 4.70
Mellanox Technologies
104
14.3.2.3 ibdiagnet Error Codes
14.3.3 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
14.3.3.1 ibportstate Applicable Hardware
All InfiniBand devices.
14.3.3.2 ibportstate Synopsis
ibportstate [-d] [-e] [-v] [-V] [-D] [-L] [-G] [-s <smlid>] \ [-C
<ca_name>] [-P <ca_port>] [-u] [-t <timeout_ms>] \ [<dest
dr_path|lid|guid>] <portnum> [<op> [<value>]]
14.3.3.3 ibportstate Options
The table below lists the various flags of the command.
1 - Failed to fully discover the fabric
2 - Failed to parse command line options
3 - Failed to interact with IB fabric
4 - Failed to use local device or local port
5 - Failed to use Topology File
6 - Failed to load required Package
Table 16 - ibportstate Flags and Options
Flag Description
-h/--help Print the help menu
-d/--debug Raise the IB debug level. May be used several times for higher debug lev-
els (-ddd or -d -d -d)
-e/--errors Show send and receive errors (timeouts and others)
-v/--verbose Increase verbosity level. May be used several times for additional verbos-
ity (-vvv or -v -v -v)
-V/--version Show version info
-D/--Direct Use directed path address arguments. The path is a comma separated list
of out ports.
Examples:
‘0’ – self port
‘0,1,2,1,4’ – out via port 1, then 2, ...
-L/--Lid Use Lid address argument