Skip to main content

vserver iscsi interface accesslist remove

Contributors
Suggest changes

Remove the iSCSI LIFs from the accesslist of the specified initiator

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

This command removes network interfaces from an access list for a specified initiator. The system removes the access list when the list is empty. When you remove a network interface from an initiator, this action could result in the shutdown of active sessions.

Parameters

-vserver <Vserver Name> - Vserver

Specifies the Vserver name.

-initiator-name <text> - Initiator Name

Specifies the initiator that you want to remove logical interfaces from.

{ -lif <lif-name>,…​ - Logical Interface

Specifies the logical interface you want to remove.

| -a, -all <true> - All }

If you use this parameter without a value, it is set to true, and the command removes all of the iSCSI data logical interfaces from an initiator's accesslist. If you remove all the network interfaces from an access list, the system removes the access list.

[-f, -force <true>] - Force

If you use this parameter without a value, it is set to true, and the command does not prompt you when an active iSCSI service or any active iSCSI data logical interfaces could be affected. If you do not use this parameter, the command prompts for confirmation if the iSCSI service is active or if any active data logical interfaces would be affected.

Examples

cluster1::> vserver iscsi interface accesslist remove -vserver vs_1 -initiator-name iqn.1992-08.com.example:abcdefg -a

Removes all the network interfaces from the access list for initiator iqn.1992-08.com.example:abcdefg on Vserver vs_1.