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

ibroute Command

Queries InfiniBand switch forwarding tables.

Syntax

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]]]

where:

Description

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.

Options

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

Option
Purpose
-a
Shows all LIDs in the range, including invalid entries.
-n
Does not try to resolve destinations.
-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.
-M
Shows multicast forwarding tables.
-s
Uses smlid as the target LID for Subnet Manager or Subnet Administrator queries.
-v
Provides verbose output.
-V
Displays the version information.
-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 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