Skip to main content
A newer release of this product is available.

lun portset remove

Contributors
Suggest changes

Remove iSCSI/FCP LIFs from a portset

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

Description

This command removes a LIF from a port set.

You cannot remove the last LIF in a port set if the port set is bound to an initiator group (igroup). To remove the last LIF in a port set, use the lun igroup unbind command to unbind the port set from the igroup. Then you can remove the last LIF in the port set.

Note This command is not supported for a Vserver with Infinite Volume.

Parameters

-vserver <Vserver Name> - Vserver Name

Specifies the Vserver.

-portset <text> - Portset Name

Specifies the port set you want to remove a LIF from.

-port-name <port_name>,…​ - LIF or TPG Name

Specifies the LIF name you want to remove from the port set.

Examples

cluster1::> port set remove -vserver vs1 -portset ps1 -port-name lif1

Removes port lif1 from port set ps1 on Vserver vs1.