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

Description

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.

Parameters

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

Examples

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

Adds port lif1 to portset ps1 on Vserver vs1.

Top of Page