mkportset

Use the mkportset command to create a new portset.

Syntax

Read syntax diagramSkip visual syntax diagram mkportset-name portset_name-type portset_type-ownershipgroup owner_id | owner_name-porttype fc | ethernet

Parameters

-name portset_name
(Optional) Specifies the name of the portset.
-type portset_type
(Optional) Specifies the type of portset. It can be host or replication type portset.
-ownershipgroup owner_id | owner_name
(Optional) Specifies the name or ID of the ownership group to which the object is added. This option is available only to the global user.
-porttype fc | ethernet
(Optional) Specifies the type of port that can be mapped to the portset. By default mkportset creates an ethernet portset if -porttype parameter is not provided.
Note: By default there are 4 portsets defined on a system -portset0, -portset1, -portset2 and -portset3. The administrator must create a new portsets and associate them with host or partnership objects as necessary. The system supports up to 64 portsets. By default a portset type is host attachment. Ownership rules:
  • Global owner is allowed to create a portset with restricted owner ID A.
  • Restricted owner ID A can create portset with owner ID A.
Note:
  • The mkip command can map an IP address with a portset of -porttype ethernet only.
  • The addfcportsetmember command can map a Fibre Channel port with a portset of -porttype fc only.
  • The mkhost command for Fibre Channel or NVMe over Fibre Channel hosts can map the host object with a portset of -porttype fc.
  • The mkhost command for iSCSI, NVMe over RDMA can map the host object with a portset of -porttype ethernet.
Note: A global admin by default create portsets with no ownership which can be used by restricted users. Alternatively a global owner may use -ownershipgroup to assign the new portset to a specific ownership group. A restricted user cannot use the -ownershipgroup parameter.

A concise invocation example

mkportset

The resulting output:

Portset, id [7], successfully created

A concise invocation example

mkportset -porttype fc

The resulting output:

Portset, id [7], successfully created

A concise invocation example

mkportset -name myportset -porttype ethernet

The resulting output:

Portset, id [7], successfully created

A concise invocation example

mkportset -name ethportset -type replication -porttype ethernet

The resulting output:

Portset, id [7], successfully created

A concise invocation example

mkportset -name myportset

The resulting output:

Portset, id [1], successfully created

A concise invocation example

mkportset -name myportset -type replication

The resulting output:

Portset, id [2], successfully created