mkportset

Use the mkportset command to create a new portset.

Syntax


1  mkportset
1 -name portset_name
1 -type portset_type
1 -ownershipgroup owner_id  | owner_name
1 -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, replication, or highspeedreplication 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. High-speed replication portset has to be of type ethernet only
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 72 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 , and NVMe over TCP 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