Blame IbaTools/man/opaportinfo.manPage

Packit 857059
.\" .\" *********************************************************************
Packit 857059
.\" .\" *                                                                   *
Packit 857059
.\" .\" *             Copyright 2015-2019, Intel Corporation                *
Packit 857059
.\" .\" *                                                                   *
Packit 857059
.\" .\" *                       All Rights Reserved.                        *
Packit 857059
.\" .\" *                                                                   *
Packit 857059
.\" .\" *********************************************************************
Packit 857059
Packit 857059
.TH opaportinfo 1 "Intel Corporation" "Copyright(C) 2015\-2019" "IFSFFCLIRG (Man Page)"
Packit 857059
.SH NAME
Packit 857059
opaportinfo
Packit 857059
Packit 857059
Packit 857059
.PP
Packit 857059
Packit 857059
\fB(Host or Switch)\fR
Packit 857059
Displays configuration and state of a specified Intel(R) Omni-Path Host Fabric Interface (HFI) port on the local host or a remote switch.
Packit 857059
.SH Syntax
Packit 857059
opaportinfo [-l  \fIlid\fR  [-m  \fIdest\(ulport\fR]] [-h  \fIhfi\fR] [-p  \fIport\fR] [-v]
Packit 857059
.SH Options
Packit 857059
Packit 857059
.TP 10
Packit 857059
-l \fIlid\fR
Packit 857059
Packit 857059
Specifies the destination LID. Default is local port.
Packit 857059
Packit 857059
.TP 10
Packit 857059
-m \fIdest\(ulport\fR
Packit 857059
Packit 857059
Specifies the destination port. Default is port with given LID. Useful to access switch ports.
Packit 857059
Packit 857059
.TP 10
Packit 857059
-h \fIhfi\fR
Packit 857059
Packit 857059
Specifies the HFI to send through/to. Default is first HFI.
Packit 857059
Packit 857059
.TP 10
Packit 857059
-p \fIport\fR
Packit 857059
Packit 857059
Specifies the port to send through/to. Default is first port.
Packit 857059
Packit 857059
Packit 857059
.SH -h and -p options permit a variety of selections:
Packit 857059
Packit 857059
.TP 10
Packit 857059
-h 0
Packit 857059
Packit 857059
First active port in system (Default).
Packit 857059
Packit 857059
.TP 10
Packit 857059
-h 0 -p 0
Packit 857059
Packit 857059
First active port in system.
Packit 857059
Packit 857059
.TP 10
Packit 857059
-h \fIx\fR
Packit 857059
Packit 857059
First active port on HFI \fIx\fR.
Packit 857059
Packit 857059
.TP 10
Packit 857059
-h \fIx\fR \fI\fR-p 0
Packit 857059
Packit 857059
First active port on HFI \fIx\fR.
Packit 857059
Packit 857059
.TP 10
Packit 857059
-h 0 -p \fIy\fR
Packit 857059
Packit 857059
Port \fIy\fR within system (no matter which ports are active).
Packit 857059
Packit 857059
.TP 10
Packit 857059
-h \fIx\fR \fI\fR-p \fIy\fR
Packit 857059
Packit 857059
HFI \fIx\fR, port \fIy\fR.
Packit 857059
Packit 857059
Packit 857059
.SH Debug Options
Packit 857059
Packit 857059
.TP 10
Packit 857059
-v
Packit 857059
Packit 857059
Specifies the verbose output. Additional invocations (-v -v ...) turn on debugging, openib debugging, and libibumad debugging.
Packit 857059
Packit 857059
.SH Examples
Packit 857059
opaportinfo -p 1
Packit 857059
.br
Packit 857059
Packit 857059
opaportinfo -p 2 -h 2 -l 5 -m 18
Packit 857059
.SH Description
Packit 857059
Packit 857059
.PP
Packit 857059
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.