Ibcacheedit -
ibcacheedit [options] <orig.cache> <new.cache>
ibcacheedit allows users to edit an ibnetdiscover cache created through the --cache option in ibnetdiscover(8) .
--switchguid BEFOREGUID:AFTERGUID
Specify 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
Specify a caguid that should be changed. The before and after guid should be separated by a colon.
--sysimgguid BEFOREGUID:AFTERGUID
Specify a sysimgguid that should be changed. The before and after guid should be spearated by a colon.
--portguid NODEGUID:BEFOREGUID:AFTERGUID
Specify a portguid that should be changed. The nodeguid 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.
-h, --help show the usage message
-V, --version show the version info.
Albert Chu