Exit Print View

Sun Datacenter InfiniBand Switch 72 Topic Set

Get PDF Book Print View
 

Document Information

Using This Documentation

Related Documentation

Documentation, Support, and Training

Documentation Feedback

User Guide

Installing the Switch

Administering the Switch

Servicing the Switch

Reference

Understanding the Commands

Understanding Hardware Commands

checkboot Command

checkpower Command

checkvoltages Command

connector Command

disablesm Command

disableswitchport Command

enablesm Command

enableswitchport Command

env_test Command

getfanspeed Command

getportstatus Command

i4reset Command

listlinkup Command

managementreset Command

nm2version Command

readchfru Command

setlinkspeed Command

setsmpriority Command

showtemps Command

showunhealthy Command

Understanding InfiniBand Commands

ibaddr Command

ibcheckerrors Command

ibchecknet Command

ibchecknode Command

ibcheckport Command

ibcheckportstate Command

ibcheckportwidth Command

ibcheckstate Command

ibcheckwidth Command

ibclearcounters Command

ibclearerrors Command

ibdatacounters Command

ibdatacounts Command

ibdiagnet Command

ibdiagpath Command

ibhosts Command

ibnetdiscover Command

ibnodes Command

ibportstate Command

ibroute Command

ibstatus Command

ibswitches Command

ibsysstat Command

ibtracert Command

opensm Command

opensmd Daemon

osmtest Command

perfquery Command

saquery Command

sminfo Command

smpdump Command

smpquery Command

Index

ibportstate Command

Manages the state and link speed of an InfiniBand port.

Syntax

ibportstate [-d][-D][-e][-G][-h][-s smlid][-v][-C ca_name][-P ca_port][-t timeout] lid|dr_path|guid port [op]

where:

Description

This InfiniBand command queries the logical and physical state of an InfiniBand port. The command can return the link width and speed of a switch port, as well as enabling, disabling, or resetting the port. The command can also set the link speed of any InfiniBand port.


Note - Speed changes are not affected until the port undergoes link renegotiation. Additionally, speed values are additive for enabling. For example, speed 7 is 2.5, 5.0, and 10.0 Gbyte/sec.


Options

The following table describes the options to the ibportstate command and their purposes:

Option
Purpose
-d
Sets the debug level. Can be used several times to increase the debug level.
-D
Uses the directed path address. The path is a comma delimited sequence of out ports.
-e
Displays send and receive errors.
-G
Uses the port GUID address.
-h
Provides help.
-s
Uses smlid as the target LID for Subnet Manager or Subnet Administrator queries.
-v
Provides verbose output.
-C
Uses the specified channel adapter name.
-P
Uses the specified channel adapter port.
-t
Overrides the default timeout.
Example

The following example shows how to query the state and link speed of LID 24, port 8 with the ibportstate command.

# ibportstate 24 8
PortInfo:
# Port info: Lid 24 port 8
LinkState:.......................Active
PhysLinkState:...................LinkUp
LinkWidthSupported:..............1X or 4X
LinkWidthEnabled:................1X or 4X
LinkWidthActive:.................4X
LinkSpeedSupported:..............2.5 Gbps or 5.0 Gbps or 10.0 Gbps
LinkSpeedEnabled:................2.5 Gbps or 5.0 Gbps or 10.0 Gbps
LinkSpeedActive:.................10.0 Gbps
Peer PortInfo:
# Port info: Lid 24 DR path slid 25; dlid 65535; 0,8 port 2
LinkState:.......................Active
PhysLinkState:...................LinkUp
LinkWidthSupported:..............1X or 4X
LinkWidthEnabled:................1X or 4X
LinkWidthActive:.................4X
LinkSpeedSupported:..............2.5 Gbps or 5.0 Gbps or 10.0 Gbps
LinkSpeedEnabled:................2.5 Gbps or 5.0 Gbps or 10.0 Gbps
LinkSpeedActive:.................10.0 Gbps
#
Related Information