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

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

Parameters

-vserver <Vserver Name> - Vserver Name

Specifies the Vserver.

-portset <text> - Portset Name

Specifies the portset 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 portset.

Examples

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

Removes port lif1 from portset ps1 on Vserver vs1.