Table of ContentsView in Frames

Creating IP-based target portal groups

You can create new IP-based target portal groups in which to add and remove existing IP addresses.

Before you begin

IP-based target portal group management must be enabled by entering the following command:
options iscsi.ip_based_tpgroup on

Step

  1. Enter the following command:
    vfiler run vFiler_unit ip_tpgroup create [-f] [-t | tag] tpgroup_name IP_address...

    -f forces the new group to be created, even if that terminates an existing session using one of the IP addresses being added to the group.

    -t sets the target portal group tag to the specified value. In general, you should accept the default tag value.

    tpgroup_name is the target portal group name.

    IP_address is the list of IP addresses to include in the group, separated by spaces.

Example

vfiler run vfiler2 iscsi ip_tpgroup create -t 233 vfiler2_tpg1 10.1.3.5

After you finish

You can add and remove IP addresses from the new group.