show ib sm port

Synopsis: The show ib sm port command identifies subnet management ports, the nodes they belong to, their capabilities, and their link statistics.

Syntax: show ib sm port subnet-prefix subnet prefix all [node-guid guid] [summary]

The arguments associated with this command are described below:

Table B-16

show ib sm port Command Syntax Descriptions

Syntax

Description

subnet prefix

Enter the subnet prefix of the subnet managers that you want to display.

all

Shows all the subnet managers that are currently configured and running on the InfiniBand fabric.

node-guid

Include the guid of a node to display only the configuration of that node.

guid

 

summary

An abridged form of the data may be returned by including the summary keyword at the end of

 

the command line. The abridged information includes the subnet-manager prefix, node-GUID, LID,

 

and state.

Command Modes: User-execute and privileged-execute modes.

Privilege Level: InfiniBand read-only user.

Usage Guidelines: Port information may be reported for all the ports on a specific subnet or all the ports comprising a specific node. The output may also be displayed in summary form.

The fields in the show ib sm port output are described in the table below.

Table B-17 show ib sm port Command Field Descriptions

Field

Description

subnet-prefix

64-bit value that identifies the InfiniBand subnet to which this port belongs.

node-guid

64-bit GUID of the node to which this port belongs.

if-index

Local port number on this node.

mkey

64-bit management key for this port. See section 14.2.4, Management Key and 3.5.3, Keys,

 

“InfiniBand® Architecture, Vol. 1, Release 1.0”, for more information.

gid-prefix

64-bit GID prefix for this port. This prefix is assigned by the subnet manager, based upon the port

 

router and the rules for local identifiers. See section 4.1.3, Local Identifiers, “InfiniBand® Architecture,

 

Vol. 1, Release 1.0”, for more information.

lid

16-bit base-LID of this port.

master-sm-lid

16-bit base LID of the master subnet manager managing this port.

cap-mask

32-bit bitmask that specifies the supported capabilities of the port. A bit value of 1 (one) indicates

 

a supported capability. The bits are: 0, 11-15, 18, 21-31 (Reserved and always 0.), 1 IsSM, 2

 

IsNoticeSupported, 3 IsTrapSupported, 4 IsResetSupported, 5 IsAutomaticMigrationSupported, 6

 

IsSLMappingSupported, 7 IsMKeyNVRAM (supports M_Key in NVRAM), 8 IsPKeyNVRAM

 

(supports P_Key in NVRAM), 9 Is LED Info Supported, 10 IsSMdisabled, 16

 

IsConnectionManagementSupported, 17 IsSNMPTunnelingSupported, 19

 

IsDeviceManagementSupported, 20 IsVendorClassSupported.Values are expressed in hexadecimal.

diag-code

16-bit diagnostic code. See section 14.2.5.6.1 Interpretation of Diagcode, “InfiniBand® Architecture,

 

Vol. 1, Release 1.0”, for more information.

mkey-lease-period

Initial value of the lease-period timer in seconds. The lease period is the length of time that the

 

M_Key protection bits are to remain non-zero after a SubnSet (PortInfo) fails an M_Key check. After

 

the lease period expires, clearing the M_Key protection bits allows any subnet manager to read (and

 

then set) the M_Key. Set this field to 0 to indicate that the lease period is never to expire. See section

 

14.2.4, Management Key, “InfiniBand® Architecture, Vol. 1, Release 1.0”, for more information.

Show Commands 147

Page 147
Image 147
HP UX 11i v2 Networking Software manual Table B-16 Show ib sm port Command Syntax Descriptions