mkportset
Use the mkportset command to create a new portset.
Syntax
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, highspeedreplication or management 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.
- -replicationportsetlinkuid replication_portset_link_uid
- (Optional) Specifies the
replicationportsetlinkuidof the host attach portset object used for identifying the replicated portset. The value must be a 32 character hexadecimal string. - -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
- -autozoneenabled yes | no
- (Optional) Specifies that auto zoning is enabled for the new portset.
- -autozonepolicy one_to_one | one_to_one_all_fabrics
- (Optional) Specifies the autozone policy to be applied to the portset.Note:
- You can specify autozonepolicy only when
autozoneenabled is set to
yes. - An existing host can be made auto zoning capable by adding it to an auto zoning enabled portset. .
- You can specify autozonepolicy only when
autozoneenabled is set to
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.
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.
Note: This command is available during the upgrade
process.
A concise invocation example
mkportset
The resulting output:
Portset, id [7], successfully created
