1 Rookie
•
1 Message
0
36
July 18th, 2025 07:13
racadm - how can I enable and modify the config of EUFI boot nics?
I am trying to perform UEFI pxe boot on a bunch of servers at once.
It is convenient to use racadm to remotely order the hosts to reset their BIOS settings and boot on PXE so I can reimage all the hosts.
I have some of these hosts that won't pxe boot because the NIC that's currently configured in the UEFI boot settings is not plugged.
I need to either enable the correct NIC in the UEFI boot settings or I need to change the device for the first NIC from the integrated device to the mezzanine NIC.
Here is what that config looks like in the GUI:

Here is what I am seeing with racadm for the NICs I have on one of these hosts:
```
"List NICs: [u'NIC.nicconfig.1 [Key=NIC.Embedded.1-1-1#nicconfig]', u'NIC.nicconfig.2 [Key=NIC.Embedded.2-1-1#nicconfig]', u'NIC.nicconfig.3 [Key=NIC.Mezzanine.1A-1#nicconfig]', u'NIC.nicconfig.4 [Key=NIC.Mezzanine.1A-2#nicconfig]']"
```
Here are the details of the NIC I would like to enable in the UEFI boot network settings:
```
"Set NIC 3 PXE: [u'LnkSpeed -- Specifies the port speed used for the selected boot protocol', u'Usage -- AutoNeg - Auto Negotiated;10Mbps Half - 10 Mbps Half;10Mbps Full - 10 Mbps Full;100Mbps Half - 100 Mbps Half;100Mbps Full - 100 Mbps Full;', u'Required License -- RACADM', u'Dependency -- None', u' ', u'WakeOnLan -- Enables the server to be powered on using an in-band magic packet', u'Usage -- Disabled - Disabled;Enabled - Enabled;', u'Required License -- RACADM', u'Dependency -- None', u' ']",
```
I have tried several syntaxes, but always end up with an error and am starting to think this may not be possible with racadm.
Thanks for sharing your thoughts.
Thierry.



Dell-Martin S
Moderator
•
3.5K Posts
0
July 18th, 2025 11:39
Hi,
To enable and modify the UEFI boot NIC settings using
racadm, you can follow these steps. Based on your description, you want to configure the mezzanine NIC (NIC.nicconfig.3) for PXE boot. Here's how you can achieve this:1. Check Current UEFI Boot Order
First, verify the current UEFI boot order to identify the NICs configured for PXE boot:
This will list the current boot sequence, including NICs.
2. Enable PXE Boot for the Mezzanine NIC
You can enable PXE boot for the desired NIC (
NIC.nicconfig.3) using the following command:This enables PXE boot for the NIC.
3. Set the NIC as the First Boot Device
To prioritize the mezzanine NIC in the UEFI boot order, use:
Replace
NIC.Mezzanine.1A-1with the exact key from yourracadm get nic.nicconfigoutput if it differs.4. Verify the Changes
After making the changes, verify the settings:
5. Reset the Server
Finally, reset the server to apply the changes:
Troubleshooting:
Error Handling: If you encounter errors, ensure:
NIC.Mezzanine.1A-1) matches exactly what is listed inracadm get nic.nicconfig.RACADMlicense) for these operations.Alternative Approach: If
racadmdoesn't support direct modification of UEFI NIC settings, you might need to:racadm:Let me know if you run into specific errors, and I can help debug further!