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 port set. By default, the command displays all LIFs in all port sets.
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 port sets that match this parameter value.
- [-portset <text>] - Portset Name
- Selects the port sets that match this parameter value.
- [-port-name <port_name>, ...] - LIF Or TPG Name
- Selects the port sets that match this parameter value.
- [-protocol {mixed|fcp|iscsi}] - Protocol
- Selects the port sets that match this parameter value.
- [-port-count <integer>] - Number Of Ports
- Selects the port sets that match this parameter value.
- [-igroups <igroup>, ...] - Bound To Igroups
- Selects the port sets 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 port sets.
cluster1::> lun portset show -port-count 0
Vserver Portset Protocol Port Names Igroups
--------- ------------ -------- ----------------------- ------------
vs1 p1 iscsi - -
The example above displays the port sets 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 port sets that have the iSCSI protocol.
cluster1::> lun portset show -port-name lif1
Vserver Portset Protocol Port Names Igroups
--------- ------------ -------- ----------------------- ------------
vs1 iscsips iscsi lif1 igroup1
Give documentation feedback