Delete a LIF
Contributors
Download PDF of this page
You can delete a network interface (LIF) that is no longer required.
Before you begin
LIFs to be deleted must not be in use.
Steps
-
Mark the LIFs you want to delete as administratively down using the following command:
-status-admin down
-
Use the
network interface delete
command to delete one or all LIFs:If you want to delete… Enter the command … A specific LIF
network interface delete -lif lif_name
All LIFs
network interface delete -lif
The following command deletes the LIF mgmtlif2:
network interface delete -vserver vs1 -lif mgmtlif2
-
Use the
network interface show
command to confirm that the LIF is deleted.