Delete a LIF
You can delete a network interface (LIF) that is no longer required.
LIFs to be deleted must not be in use.
Mark the LIFs you want to delete as administratively down using the following command:
network interface modify -vserver vserver_name -lif lif_name -status-admin down
network interface deletecommand to delete one or all LIFs:
If you want to delete…
Enter the command …
A specific LIF
network interface delete -vserver vserver_name -lif lif_name
network interface delete -vserver vserver_name -lif *
The following command deletes the LIF mgmtlif2:
network interface delete -vserver vs1 -lif mgmtlif2
network interface showcommand to confirm that the LIF is deleted.