chportset
Use the chportset command to modify the attributes of a portset.
Syntax
Parameters
- -name new portset name
- (Optional) Specifies a name or label for the new portset. The value can be an ASCII string in the range 0 - 64 characters.
- -ownershipgroup owner_id | owner_name
- (Optional) Specifies the owner id or own name to assign to portset object. The value can be an ASCII string or decimal in the range 0 - 64 characters.
- -noownershipgroup portset name | portset id
- (Optional) Remove the portset from the ownership group. It is mutually exclusive with ownershipgroup.
- -replicationportsetlinkuid replication_portset_link_uid
- (Optional) Specifies the new link UID value for the portset. The value must be a 32 character hexadecimal string.
- -moveportsetlink
- (Optional) Specifies that the replication portset link UID has been moved from an existing portset. This parameter is required if the specified UID is already in use by another portset on the local system and you want to move the portset link to a different portset. When this parameter is specified, the portset link UID will be moved from the current portset to the specified portset. The replication portset link UID for the portset that currently has this UID will be reset.
- -resetreplicationportsetlinkuid
- (Optional) Specifies that the link UID value for this portset should be reset. This action will generate a new portset link UID value for the portset.
- portset_id | portset_name
- (Optional) Specifies the portset ID or name.
Note:
- If the portset is already linked, then the -replicationportsetlinkuid cannot be modified, but it can be reset, which allows unlinking a linked portset.
- In the case of
-moveportsetlink, if all conditions are met, the UID will be moved regardless of the linked status of the source portset. However, if the destination portset is linked, an error will be thrown.
Note: Restricted users are permitted to view and use globally owned portsets, but are not permitted
to make any modifications. Restricted users are permitted to modify portsets that are assigned to
their ownership group. Portsets of type storage and replication are always globally owned and an
attempt to change its ownership will fail.
Note: This command is available during the upgrade
process.
An invocation example
chportset -name test <portset name|portset id>
The resulting output:
No feedback.
