ONTAP 9.13.1 commands

lun portset show

Displays a list of portsets

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

Description

This command displays the LIFs in a portset. By default, the command displays all LIFs in all portsets.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-vserver <Vserver Name>] - Vserver Name

Selects the portsets that match this parameter value.

[-portset <text>] - Portset Name

Selects the portsets that match this parameter value.

[-uuid <UUID>] - Portset Uuid

Selects the portsets that match this parameter value.

[-port-name <port_name>,…​] - LIF Or TPG Name

Selects the portsets that match this parameter value.

[-protocol {mixed|fcp|iscsi}] - Protocol

Selects the portsets that match this parameter value.

[-port-count <integer>] - Number Of Ports

Selects the portsets that match this parameter value.

[-igroups <igroup>,…​] - Bound To Igroups

Selects the portsets that match this parameter value.

Examples

cluster1::> lun portset show
Vserver   Portset      Protocol Port Names              Igroups
--------- ------------ -------- ----------------------- ------------
vs1       ps0          mixed    lif1, lif2              igroup1
          ps1          iscsi    lif3                    igroup2
          ps2          fcp      lif4                    -
3 entries were displayed.

The example above displays all portsets.

cluster1::> lun portset show -port-count 0
Vserver   Portset      Protocol Port Names              Igroups
--------- ------------ -------- ----------------------- ------------
vs1       p1           iscsi    -                       -

The example above displays the portsets that contain zero LIFs.

cluster1::> lun portset show -protocol iscsi
Vserver   Portset      Protocol Port Names              Igroups
--------- ------------ -------- ----------------------- ------------
vs1       p1           iscsi    -                       -
vs1       iscsips      iscsi    lif1                    igroup1
2 entries were displayed.

The example above displays the portsets that have the iSCSI protocol.

cluster1::> lun portset show -port-name lif1
Vserver   Portset      Protocol Port Names              Igroups
--------- ------------ -------- ----------------------- ------------
vs1       iscsips      iscsi    lif1                    igroup1

The example above displays the portsets that contain LIF lif1.

Top of Page