rmportset

Use the rmportset command to delete the portset. Before deleting the Fibre Channel (FC) port make sure if any Fibre Channel host or Fibre Channel IO port under the portset is defined.

Syntax

Read syntax diagramSkip visual syntax diagram -rmportset portset_name | portset_id

Parameters

-rmportset portset_name | portset_id
(Required) The name or ID of the portset.
Note: The portset0, portset3 and portset64 are system pre-defined portsets of type host and storage respectively and cannot be deleted. If portset has port count and host count set then portset cannot be deleted.
Note: Depending on the portset type (fc or ethernet), check for any existence of host or ports under portset before deleting it.
  • If you are deleting Fibre Channel portset, check for any Fibre Channel host or Fibre Channel IO ports under the portset.
  • If you are deleting Ethernet portset, check for any iSCSI host or Ethernet ports under the portset.
Note: In a PBHA environment, a portset cannot be deleted if it is linked. You must first unlink the portset before they can remove the portset object.

An invocation example

rmportset portset1

The resulting output:

No feedback