Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
# Force PortInfo:LinkWidthEnabled on switch ports
# If 0, don't modify PortInfo:LinkWidthEnabled on switch port
# Otherwise, use value for PortInfo:LinkWidthEnabled on switch port
# Values are (IB Spec 1.2.1, 14.2.5.6 Table 146 "PortInfo"
# augmented by MgtWG RefIDs #9306-9309)
# 1: 1x
# 2: 4x
# 3: 1x or 4x
# 4: 8x
# 5: 1x or 8x
# 6: 4x or 8x
# 7: 1x or 4x or 8x
# 8: 12x
# 9: 1x or 12x
# 10: 4x or 12x
# 11: 1x or 4x or 12x
# 12: 8x or 12x
# 13: 1x or 8x or 12x
# 14: 4x or 8x or 12x
# 15: 1x or 4x or 8x or 12x
# 16: 2x
# 17: 1x or 2x
# 18: 2x or 4x
# 19: 1x or 2x or 4x
# 20: 2x or 8x
# 21: 1x or 2x or 8x
# 22: 2x or 4x or 8x
# 23: 1x or 2x or 4x or 8x
# 24: 2x or 12x
# 25: 1x or 2x or 12x
# 26: 2x or 4x or 12x
# 27: 1x or 2x or 4x or 12x
# 28: 2x or 8x or 12x
# 29: 1x or 2x or 8x or 12x
# 30: 2x or 4x or 8x or 12x
# 31: 1x or 2x or 4x or 8x or 12x
# 32-254 Reserved
# Default 255: set to PortInfo:LinkWidthSupported
force_link_width 255

 

For examplexample:

Code Block
$sudo ibportstate -L 358 1 width

...

 16

$sudo ibportstate -L 358 1 reset

Script Example: changing Rome 8 servers to HDR100

...