User Manual
Rev 4.70
Mellanox Technologies
108
Examples
1. Dump all Lids with valid out ports of the switch with Lid 2.
> ibroute 2
Unicast lids [0x0-0x8] of switch Lid 2 guid 0x0002c902fffff00a (MT47396 Infiniscale-
III Mellanox Technologies):
Lid Out Destination
Port Info
0x0002 000 : (Switch portguid 0x0002c902fffff00a: 'MT47396 Infiniscale-III Mellanox
Technologies')
0x0003 021 : (Switch portguid 0x000b8cffff004016: 'MT47396 Infiniscale-III Mellanox
Technologies')
0x0006 007 : (Channel Adapter portguid 0x0002c90300001039: 'sw137 HCA-1')
0x0007 021 : (Channel Adapter portguid 0x0002c9020025874a: 'sw157 HCA-1')
0x0008 008 : (Channel Adapter portguid 0x0002c902002582cd: 'sw136 HCA-1')
5 valid lids dumped
2. Dump all Lids in the range 3 to 7 with valid out ports of the switch with Lid 2.
> ibroute 2 3 7
-n/--no_dests Do not try to resolve destinations
-D/--Direct Use directed path address arguments. The path is a comma separated list
of out ports.
Examples:
‘0’ – self port
‘0,1,2,1,4’ – out via port 1, then 2, ...
-G/--Guid Use GUID address argument. In most cases, it is the Port GUID. Exam-
ple:
‘0x08f1040023’
-M/--Multicast Show multicast forwarding tables. The parameters <startlid> and
<endlid> specify the MLID range.
-L/--Lid Use Lid address argument
-u/--usage Usage message
-e/--errors Show send and receive errors (timeouts and others)
-s/--sm_port <smlid> Use <smlid> as the target LID for SM/SA queries
-C/--Ca <ca_name> Use the specified channel adapter or router
-P/--Port <ca_port> Use the specified port
-t/--timeout<timeout_ms> Override the default timeout for the solicited MADs [msec]
<dest dr_path | lid | guid> Destination’s directed path, LID, or GUID
<startlid> Starting LID in an MLID range
<endlid> Ending LID in an MLID range
Table 17 - ibroute Flags and Options
Flag Description