Exit Print View

Sun Datacenter InfiniBand Switch 72 Command Reference

Get PDF Book Print View

Document Information

Using This Documentation

Related Documentation

Documentation, Support, and Training

Documentation Feedback

Understanding the Commands

Understanding Hardware Commands

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


ibroute Command

Queries InfiniBand switch forwarding tables.


ibroute [-d][-a][-n][-D][-e][-G][-h][-M][-s smlid][-v][-V][-C ca_name][-P ca_port][-t timeout][lid|dr_path|guid [startlid [endlid]]]



This InfiniBand command uses SMPs to display the forwarding tables for the specified switch LID and optionally, the LID range. By default, the range is all valid entries from 1 to FDBTop.


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

Shows all LIDs in the range, including invalid entries.
Does not try to resolve destinations.
Sets the debug level. Can be used several times to increase the debug level.
Uses the directed path address. The path is a comma delimited sequence of out ports.
Displays send and receive errors.
Uses the port GUID address.
Provides help.
Shows multicast forwarding tables.
Uses smlid as the target LID for Subnet Manager or Subnet Administrator queries.
Provides verbose output.
Displays the version information.
Uses the specified channel adapter name.
Uses the specified channel adapter port.
Overrides the default timeout.

The following example shows how to display the forwarding table for LID 24 with the ibroute command.

# ibroute 24
Unicast lids [0x0-0x19] of switch Lid 24 guid 0x0021283a8620b0e0 (Sun DCS 72 QDR switch 1.1(FC)):
     Lid  Out   Destination
         Port     Info 
0x0014 001 : (Switch portguid 0x0021283a8620b0a0: ’Sun DCS 72 QDR switch 1.2(LC)’)
0x0015 011 : (Switch portguid 0x0021283a8620b0b0: ’Sun DCS 72 QDR switch 1.2(LC)’)
0x0016 002 : (Switch portguid 0x0021283a8620b0c0: ’Sun DCS 72 QDR switch 1.2(LC)’)
0x0018 000 : (Switch portguid 0x0021283a8620b0e0: ’Sun DCS 72 QDR switch 1.1(FC)’)
0x0019 001 : (Switch portguid 0x0021283a8620b0f0: ’Sun DCS 72 QDR FC switch o4nm2-72p-2’)
6 valid lids dumped 

Note - The output in the example is just a portion of the full output.

Related Information