opaportconfig(1) | Master map: IFSFFCLIRG (Man Page) | opaportconfig(1) |
opaportconfig
(Host or Switch) Controls the configuration and state of a specified Intel(R) Omni-Path Host Fabric Interface (HFI) port on the local host or a remote switch.
NOTE: This tool is designed for expert users only. Non-expert users should use other tools such as opaenableports, opadisableports and opaportinfo for basic functionality.
opaportconfig [-l lid[-m dest_port]] [-h hfi]
[-p port] [-r secs] [-z]
[-S state] [-P physstate] [-s speed] [-w width]
[-c LTPCRC] [-v] [-x]
[-L lid] [< sub command>]
enable Enables port.
disable Disables port.
bounce Bounces port.
NOTE: Bouncing remote ports may cause timeouts.
ledon Turns port LED on.
ledoff Turns port LED off.
0 No-op.
1 Down.
2 Initiate.
3 Armed.
4 Active.
NOTE: All transitions are valid.
0 No-op.
2 Polling.
3 Disabled.
11 Phy-Test. Current physstate must be disabled.
0 No-op.
2 0x0002 - 25 Gb/s.
0 No-op.
1 0x01 - 1x.
2 0x02 - 2x.
4 0x04 - 3x.
8 0x08 - 4x.
0 No-op.
1 0x1 - 14-bit LTP CRC mode.
2 0x2 - 16-bit LTP CRC mode.
4 0x4 - 48-bit LTP CRC mode.
8 0x8 - 12/16 bits per lane LTP CRC mode.
opaportconfig -w 1
opaportconfig -p 1 -h 2 -w 3
Port configuration is transient in nature. If the given host is rebooted or its Intel(R) Omni-Path Fabric Stack is restarted, the port reverts to its default configuration and state. Typically, the default state is to have the port enabled with all speeds and widths supported by the given HFI port.
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.
NOTE: The /etc/init.d/opaportconfig script is provided as an example of changing port speed every time the server boots. This script can be edited, then scheduled, using chkconfig to control link settings on any set of HFI ports.
CAUTION: When using this command to disable or reconfigure switch ports, if the final port in the path between the Fabric Management Node and the switch is disabled or fails to come online, then opaenableports is not able to reenable it. In this case, the switch CLI and/or a switch reboot may be needed to correct the situation.
Intel Corporation | Copyright(C) 2015-2018 |