Delete a LIF in a SAN environment
Before you delete a LIF, you should ensure that the host connected to the LIF can access the LUNs through another path.
If the LIF you want to delete is a member of a port set, you must first remove the LIF from the port set before you can delete the LIF.
Delete a LIF with ONTAP System Manager (9.7 and later).
-
In System Manager, click Network > Overview, and then select Network Interfaces.
-
Select the storage VM from which you want to delete the LIF.
-
Click and select Delete.
Delete a LIF with the ONTAP CLI.
-
Verify the name of the LIF and current port to be deleted:
network interface show –vserver vserver_name
-
Delete the LIF:
network interface delete
network interface delete -vserver vs1 -lif lif1
-
Verify that you deleted the LIF:
network interface show
network interface show -vserver vs1
Logical Status Network Current Current Is Vserver Interface Admin/Oper Address/Mask Node Port Home ------- ---------- ---------- ---------------- --------- ------- ---- vs1 lif2 up/up 192.168.2.72/24 node-01 e0b true lif3 up/up 192.168.2.73/24 node-01 e0b true