Chapter 3 Configuration Settings and Display3.5 Host Interface Management > delete affinity-groupETERNUS CLI User’s GuideCopyright 2015 FUJITSU LIMITED P2X0-1030-09ENZ0257delete affinity-groupThis command deletes the specified affinity group(s), or releases a definition from the specified affinity group.■ Syntax■ Parameter■ Example(s)delete affinity-group {-ag-numberag_numbers | -ag-nameag_names } [-lunluns]-ag-numberor-ag-nameThis parameter specifies the affinity group identifiers to be deleted. One or more parameterscan be specified at the same time. For details, refer to "1.2.11 Affinity Group Syntax" (page 24).By specifying the "-lun" parameter, one or more definitions included in the affinity group canbe deleted. In this case, the Affinity group is not deleted.-lun Optional. This parameter specifies the LUNs that will be removed from the affinity groupdefinitions. Two or more parameters can be specified by separating them with a comma, ahyphen or both. If omitted, the specified affinity groups are deleted.Example: -lun 1,2 -lun 1-3 -lun 1-3.5The following example only deletes affinity group #1:CLI> delete affinity-group -ag-number 1The following example deletes affinity groups #1 and #2:CLI> delete affinity-group -ag-number 1,2The following example only releases the definition of LUN #1 associated with the affinity group named"AGP001":CLI> delete affinity-group -ag-name AGP001 -lun 1The following example only releases the definitions of LUN #1 and #2 associated with the affinity groupsnamed "AGP001":CLI> delete affinity-group -ag-name AGP001 -lun 1,2The following example respectively releases the definitions of LUN #1 and #2 that are associated with theaffinity group named "AGP001" and "AGP002":CLI> delete affinity-group -ag-name AGP001,AGP002 -lun 1,2