Skip to main content
A newer release of this product is available.

vserver iscsi isns create

Contributors
Suggest changes

Configure the iSNS service for the Vserver

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

Description

This command creates and starts an iSNS service with the IP address of the iSNS server.

Note A Vserver management LIF must exist before you can create an iSNS service. This LIF is used to communicate with the iSNS server. To create a Vserver management LIF, use the network interface create command, with `-role`data and `-data-protocol`none .

Parameters

-vserver <Vserver Name> - Vserver Name

Specifies the Vserver for the iSNS service that you want to create.

-address <IP Address> - iSNS Server IP Address

Specifies the IP address of the iSNS server. Both IPv4 and IPv6 address families are supported. The address family must be the same as that of the vserver management LIF.

Note A default route must exist for the specified vserver. To create a route, use the network routing-groups route create command. To view existing routes, use the network routing-groups route show command.
[-status-admin {down|up}] - Administrative Status

Specifies the administrative status of the iSNS service of a Vserver. If you set this parameter to up, the iSNS service starts for the Vserver and registers with the configured iSNS server. If you set this parameter to down, the Vserver loses its ability to register with the iSNS server and to be discovered by iSNS clients.

[-force <true>] - Force

vserver iscsi isns create fails if vserver management LIF is not configured. When you set this option to "true," you create an iSNS service on a Vserver even if the vserver does not have a vserver management LIF.

Examples

cluster1::> vserver iscsi isns create -vserver vs_1 -address 10.60.1.1 -status-admin up

Creates the iSNS service for Vserver vs_1 using the IPv4 address.

cluster1::> vserver iscsi isns create -vserver vs_1 -address fd20:8b1e:b255:840b:a0df:565b:19b5:4d06 -status-admin up

Creates the iSNS service for Vserver vs_1 using the IPv6 address.