Disable/Enable NICs

Disable/Enable First-gen Gaudi NICs

You can disable or enable Gaudi NICs from a machine only with privileged ELBI access. Make sure ELBI is not blocked on the machine. Run the below commands only when the driver is not loaded.

  • To disable Gaudi NICs, run the following command:

    hl-fw-loader -f /lib/firmware/habanalabs/gaudi/gaudi-nic-dis.itb
    
  • To enable Gaudi NICs, run the following command:

    hl-fw-loader -f /lib/firmware/habanalabs/gaudi/gaudi-nic-en.itb
    

Disable/Enable Gaudi 2 External NICs

You can disable or enable Gaudi external NICs using hl-fw-loader. The NIC state is stored in EEPROM which makes it persistent. Run the below commands only when the driver is not loaded. The below commands can be executed from host (inband) or BMC (out-of-band).

  • To disable Gaudi external NICs, run the following command:

    hl-fw-loader -f /lib/firmware/habanalabs/gaudi2/gaudi2-nic-no_ext.itb
    
  • To enable Gaudi external NICs, run the following command:

    hl-fw-loader -f /lib/firmware/habanalabs/gaudi2/gaudi2-nic-default.itb