ONTAP 9.14.1 commands

lun portset add

Add iSCSI/FCP LIFs to a portset

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


This command adds existing iSCSI and FCP LIFs to a portset. To create a new portset, use the lun portset create command.

Use the network interface create command to create new LIFs.


-vserver <Vserver Name> - Vserver Name

Specifies the Vserver.

-portset <text> - Portset Name

Specifies the portset you want to add the LIFs to.

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

Specifies the LIF name you want to add to the portset.


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

Adds port lif1 to portset ps1 on Vserver vs1.

Top of Page