opaportinfo

(Host or Switch) Displays configuration and state of a specified Intel® Omni-Path Host Fabric Interface (HFI) port on the local host or a remote switch.

Syntax

opaportinfo [-l lid [-m dest_port]] 
[-h hfi] [-p port] [-K mkey] [-v]

Options

-l lid

Destination LID. Default is local port.

-m dest_port

Destination port. Default is port with given LID. Useful to access switch ports.

-h hfi

HFI, numbered 1..n. Using 0 specifies that the -p port port is a system-wide port number. Default is 0.

-p port

Port, numbered 1..n. If -h hfi is 0, then port is a system-wide port number. Default is 1.

-K mkey

SM management key to access remote ports.

-h 0

First port in system (default).

-h x

First port on HFI x.

-h 0 -p y

Port y within system.

-h x -p y

HFI x, port y.

-v

Verbose output. Additional invocations (–v –v ...) turn on debugging, openib debugging, and libibumad debugging.

Examples

opaportinfo -p 1 
opaportinfo -p 2 -h 2 -l 5 -m 18

Description

To access switch ports using this command, the -l and -m options must be given. The -l option specifies the LID of switch port 0 (the logical management port for the switch) and -m specifies the actual switch port to access. If SMA mkeys are used, the -K option is also needed. However, the Intel® Omni-Path Fabric Suite Fabric Manager does not use SMA mkeys by default, therefore this option may not be required.