Skip to main content

network interface delete

Contributors
Suggest changes

Delete a logical interface

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The 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".

Note If the LIF is configured for a SAN protocol and is part of a portset, the LIF must be removed from the portset before it can be deleted. To determine if a LIF is in a portset, use the lun portset show command. To remove the LIF from the portset, use the lun portset remove command.
Note On some cloud platforms, this operation might perform changes to the external route tables.

Parameters

-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.

Examples

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