network interface delete
Delete a logical interface
Availability: This command is available to cluster administrators at the admin privilege level.
network interface delete command deletes a logical interface (LIF) from a Vserver. Only administratively down LIFs can be deleted. To make a LIF administratively down, use the network interface modify command to set the "status-admin" parameter to "down".
|If the LIF is configured for a SAN protocol and is part of a port set, the LIF must be removed from the port set before it can be deleted. To determine if a LIF is in a port set, use the lun portset show command. To remove the LIF from the port set, use the lun portset remove command.|
|On some cloud platforms, this operation might perform changes to the external route tables.|
-vserver <vserver>- Vserver Name
Use this parameter to specify the Vserver on which the logical interface to be deleted is located.
-lif <lif-name>- Logical Interface Name
Use this parameter to specify the logical interface to delete.
The following example deletes a logical interface named cluslif3 that is located on a Vserver named vs0.
cluster1::> network interface delete -vserver vs0 -lif cluslif3