rmiscsistorageport

Use the rmiscsistorageport command to remove established Internet Small Computer Systems Interface (iSCSI) sessions between system nodes and backend iSCSI target.

Syntax

 rmiscsistorageport     lsiscsistorageport_row_id   

Parameters

lsiscsistorageport_row_id
(Required) Specifies the row ID of the selected row in the output of lsiscsistorageport command.

Description

Use this command to remove path groups that are established after specifying addiscsistorageport (not individual paths).

Any dependencies must be removed before specifying this command. The ID of the session that is listed (after specifying lsiscsistorageport) is used to identify the sessions that must be removed.

A detailed invocation example

After you specify addiscsistorageport for discovery and lsiscsistorageport to show any added session. Then specify rmiscsistorageport to remove sessions that are indicated by view ID 0. No tgt_user_name or target_chap is required for discovery or session establishment.

rmiscsistorageport 0

The detailed resulting output:

No feedback