Disable/Enable all NICs
On this Page
Disable/Enable all NICs¶
Disable/Enable all Gaudi 3 NICs¶
Disabling and enabling all Gaudi 3 NIC ports can be done from the host (in-band) This section provides instructions on how to manage all NIC ports offering flexibility in network interface management.
You can disable or enable Intel Gaudi 3 NIC ports using hl-fw-loader
.
Run the below commands only when the driver is not loaded. The below commands can be executed from the host (in-band).
Note
By default, all NIC ports are enabled.
The configuration persists until the next power cycle.
Make sure that the
gaudi3-sec-fit-fw-58.2.7.tgz
file has already been downloaded from the Intel Gaudi vault or Intel RDC and extracted. If not, follow Step 1 and Step 2 below.The status of the Ethernet ports (whether enabled or disabled) can be retrieved from the “System Status” packet using the hl_smi_asynch tool. For further details, refer to Gaudi 3 In-Band Telemetry for Hypervisor document located in the Intel Gaudi vault and Intel RDC.
Download the
gaudi3-sec-fit-fw-58.2.7.tgz
file in /lib/firmware/habanalabs/gaudi3/:wget https://vault.habana.ai/artifactory/gaudi-odm/1.20.1/gaudi3/gaudi3-sec-fit/gaudi3-sec-fit-fw-58.2.7.tgz
Extract the
gaudi3-sec-fit-fw-58.2.7.tgz
file:sudo tar -xvf gaudi3-sec-fit-fw-58.2.7.tgz
Disable/enable all NIC ports:
To disable all NIC ports, run the following command:
hl-fw-loader -f /lib/firmware/habanalabs/gaudi3/gaudi3-nic-all-dis.itb
To enable all NIC ports, run the following command:
hl-fw-loader -f /lib/firmware/habanalabs/gaudi3/gaudi3-nic-all-en.itb
Disable/Enable all Gaudi 2 NICs¶
You can disable or enable all Gaudi 2 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).
Note
Make sure that the gaudi2-sec-fit-fw-58.2.6.tgz
file has already been downloaded from the Intel Gaudi vault or Intel RDC and extracted. If not, follow Step 1 and Step 2 below.
Download the
gaudi2-sec-fit-fw-58.2.6.tgz
file in /lib/firmware/habanalabs/gaudi2/:wget https://vault.habana.ai/artifactory/gaudi-odm/1.20.1/gaudi2/gaudi2-sec-fit/gaudi2-sec-fit-fw-58.2.6.tgz`
Extract the
gaudi2-sec-fit-fw-58.2.6.tgz
file:sudo tar -xvf gaudi2-sec-fit-fw-58.2.6.tgz
Disable/enable all ports:
To disable all NIC ports, run the following command:
hl-fw-loader -f /lib/firmware/habanalabs/gaudi2/gaudi2-nic-all-dis.itb
To enable all NIC ports, run the following command:
hl-fw-loader -f /lib/firmware/habanalabs/gaudi2/gaudi2-nic-all-en.itb