44
2.
1.
VSD:
PSID: MT_1090120019
Change the GUIDs/MACs on an image file:
# mstflint -i /tmp/image.bin q
Image type: fs2
FW Version: 2.31.5050
FW Release Date: 4.5.2014
Device ID: 4099
Description: Node Port1 Port2 Sys image
GUIDs: f45214030001b8a0 f45214030001b8a1 f45214030001b8a2 f45214030001b8a3
MACs: 00300abadaba 00300abadabb
VSD:
PSID: MT_1090120019
# mstflint -i /tmp/image.bin -guid 0002c9000abcdef0 -mac 02c90abcdef0 sg
You are about to change the Guids/Macs/Uids on the device:
New Values Current Values
Node GUID: 0002c9000abcdef0 f45214030001b8a0
Port1 GUID: 0002c9000abcdef1 f45214030001b8a1
Port2 GUID: 0002c9000abcdef2 f45214030001b8a2
Sys.Image GUID: 0002c9000abcdef3 f45214030001b8a3
Port1 MAC: 02c90abcdef0 00300abadaba
Port2 MAC: 02c90abcdef1 00300abadabb
Do you want to continue ? (y/n) [n] : y
Restoring signature - OK
# mstflint -i /tmp/image.bin q
Image type: FS2
FW Version: 2.31.5050
FW Release Date: 4.5.2014
Device ID: 4099
Description: Node Port1 Port2 Sys image
GUIDs: 0002c9000abcdef0 0002c9000abcdef1 0002c9000abcdef2 0002c9000abcdef3
MACs: 02c90abcdef0 02c90abcdef1
VSD:
PSID: MT_1090120019
5th Generation (Group II) Devices
On 5th Generation (Group II) devices, the “sg” command can operate on both the image file and the
image on the flash. When running the “sg” command on an image on the flash, -uid flag must be
specified. For ConnectX-4, -guid/-mac flags can be specified. By default, 8 GUIDs will be assigned
for each port starting from base, base+1 up until base+7 for port 1 and base+8 up until base+15 for
port 2.
To change the step size and the number of GUIDs per port, specify
guids_num=<num> step_size=<size> to the sg command.
Change GUIDs for device:
# mstflint -d 41:00.0 q
Image type: FS3
FW Version: 10.10.3000
FW Release Date: 29.4.2014
Description: UID GuidsNumber Step
Base GUID1: 0002c903002ef500 8 1
Base GUID2: 0002c903002ef508 8 1
Base MAC1: 0002c92ef500 8 1
Base MAC2: 0002c92ef508 8 1
Image VSD:
Device VSD: VSD
PSID: MT_1240110019
# mstflint -d 41:00.0 -uid 0002c123456abcd -ocr sg
-W- Firmware flash cache access is enabled. Running in this mode may cause the firmware to hang.
Updating GUID section - OK
Updating ITOC section - OK
Restoring signature - OK
# mstflint -d 41:00.0 q