User Manual

Table Of Contents
Rev 4.60
Mellanox Technologies
92
Examples
8.3.17 ibcacheedit
ibcacheedit allows users to edit an ibnetdiscover cache created through the --cache option in
ibnetdiscover(8).
8.3.17.1 ibcacheedit Synopsis
8.3.17.2 ibcacheedit Options
ibaddr # local port´s address
ibaddr 32 # show lid range and gid of lid 32
ibaddr -G 0x8f1040023 # same but using guid address
ibaddr -l 32 # show lid range only
ibaddr -L 32 # show decimal lid range only
ibaddr -g 32 # show gid address only
ibcacheedit [--switchguid BEFOREGUID:AFTERGUID] [--caguid BEFORE:AFTER]
[--sysimgguid BEFOREGUID:AFTERGUID] [--port-
guid
NODEGUID:BEFOREGUID:AFTERGUID] [-h(elp)] <orig.cache> <new.cache>
Table 26 - ibcacheedit Flags and Options
Flags Description
--switchguid BEFOREGUID:AFTERGUID Specifies a switchguid that should be changed. The
before and after guid should be separated by a colon. On
switches, port guids are identical to the switch guid, so
port guids will be adjusted as well on switches.
--caguid BEFOREGUID:AFTERGUID Specifies a caguid that should be changed. The before
and after guid should be separated by a colon.
--sysimgguid BEFOREGUID:AFTERGUID Specifies a sysimgguid that should be changed. The
before and after guid should be separated by a colon.
--portguid NODEGUID:BEFOREGUID:AFTER-
GUID
Specifies a portguid that should be changed. The node-
guid of the port (e.g. switchguid or caguid) should be
specified first, followed by a colon, the before port guid,
another colon, then the after port guid. On switches, port
guids are identical to the switch guid, so the switch guid
will be adjusted as well on switches.
Debugging Flags Description
NOTE: Most OpenIB diagnostics take the following common flags. The exact list of supported flags per util-
ity can be found in the usage message and can be shown using the util_name -h syntax.
-h shows the usage message
-v shows the version info.