CLI Guide

delete chap-records
name originator-name
To delete all CHAP records:
delete chap-records
all
Parameters
name originator-name
The originator name, typically in IQN format.
all
Delete all CHAP records in the database.
Examples Delete the CHAP record for a specific originator.
# delete chap-records name iqn.1991-05.com.microsoft:myhost.domain
Delete all CHAP records.
# delete chap-records all
See also
create chap-record
set chap-record
show chap-records
show iscsi-parameters
delete host-groups
Description
Deletes specified host groups and optionally all hosts in those groups.
Before using the option to delete all the hosts in the groups, ensure that the hosts are unmapped.
This command has a confirmation prompt in interactive console mode.
Minimum role manage
Syntax
delete host-groups
[delete-hosts]
host-groups |all
Parameters
delete-hosts
Optional. Specifies to delete all hosts in the groups. If this parameter is omitted, the host groups will be
deleted but their hosts will not be deleted.
host-groups|all
Specifies either:
A comma-separated list of the names of host groups to delete. A name that includes a space must be
enclosed in double quotes.
all: Deletes all host groups.
Examples Delete host group HGroup1 but not the hosts in those groups.
# delete host-groups HGroup1
Delete all host groups and the hosts in those groups.
# delete host-groups delete-hosts all
See also show host-groups
Alphabetical list of commands 67