The physical link state directly corresponds to the IB HCA port state. To display physical data link information, use the following commands:
dladm show-phys [link]
If you do not specify link, then information about all the links is displayed.
This command displays basic information about links on the system such as the media type, the current state, and the speed capacity. The same command is used to display information about links of other media types.
The following examples have truncated outputs to show information relevant to InfiniBand only.
# dladm show-phys LINK MEDIA STATE SPEED DUPLEX DEVICE ibp0 Infiniband up 8000 unknown ibp0 ibp1 Infiniband down 8000 unknown ibp1 ibp2 Infiniband down 8000 unknown ibp2 ibp3 Infiniband up 8000 unknown ibp3
dladm show-ib [link]
If you do not specify link, then information about all the links is displayed.
This command displays the physical links, port GUIDs, port# HCA GUIDs, P_Keys present on the port at the time the command is running, and the EoIB gateways that are discovered from each IB port.
The following example shows four gateway Ethernet ports discovered from the IB HCA port ibp1. All four are on the gateway nm2gw-1.
# dladm show-ib LINK HCAGUID PORTGUID PORT STATE GWNAME GWPORT PKEYS ibp0 212800013F2F5A 212800013F2F5B 1 down -- -- FFFF ibp1 212800013F2F5A 212800013F2F5C 2 up nm2gw-1 0a-eth-1 FFFF,8001 nm2gw-1 0a-eth-2 nm2gw-1 0a-eth-3 nm2gw-1 0a-eth-4