Error occurs when executing LIF deletion
Applies to
ONTAP 9.5
Issue
The following error occurs when executing LIF deletion.
Error: command failed: LIF "lif_name" could not be deleted because it is enabled. To disable the LIF, use
the "network interface modify" command to change the LIF's "status-admin" setting to "down".