1.
2.
5th Generation (Group II) Devices
On 5th Generation (Group II) devices, the “sg” command can operate on both the image file andthe
image on the flash. When running the “sg” command on an image on the flash, -uid flag mustbe
specified. For ConnectX-4, -guid/-mac flags can be specified. By default, 8 GUIDs will beassigned for
each port starting from base, base+1 up until base+7 for port 1 and base+8 up untilbase+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
Image type: FS3
FW Version: 10.10.3000
FW Release Date: 29.4.2014
Description: UID GuidsNumber Step
Base GUID1: 00002c123456abcd 8 1
Orig Base GUID1: 0002c903002ef500 8 1
Base GUID2: 00002c123456abd5 8 1
Orig Base GUID2: 0002c903002ef508 8 1
Base MAC1: 00002c56abcd 8 1
Orig Base MAC1: 0002c92ef500 8 1
Base MAC2: 00002c56abd5 8 1
Orig Base MAC2: 0002c92ef508 8 1
Image VSD:
Device VSD: VSD
PSID: MT_1240110019
Change GUIDS for device (specifying guids_num and step_size):
# 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 0000000000000001 -ocr sg guids_num=2 step_size=1
-W- Firmware flash cache access is enabled. Running in this mode may cause the firmware to hang.
Orig Base GUID/MAC refers to the GUIDs/MACs located in the MFG(manufacture guids)
section of the flash/image.