S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
two initiators are in different zones: Zone 1 consists of iqn.host1 and target P1, and Zone 2 consists of
iqn.host2 and target P2. iSNS server functionality is enabled on both switches, SW-1 and SW-2. The
registration process proceeds as follows:
Configuring iSNS Servers
This section describe how to configure an iSNS server on a Cisco MDS 9000 Family switch.
This section includes the following topics:
Cisco MDS 9000 Family CLI Configuration Guide
Using iSNS Servers in the Cisco MDS Environment
Network - 1
42-23, iqn.host1 and iqn.host2 are iSCSI initiators. P1 and P2 are Fibre Channel targets. The
Initiator iqn.host1 registers with SW-1, port Gigabitethernet2/1.
Initiator iqn.host2 registers with SW-2, port Gigabitethernet3/1.
Initiator iqn.host1 issues an iSNS query to SW-1 to determine all accessible targets.
The iSNS server in turn queries the Fibre Channel name server (FCNS) to obtain a list of devices
that are accessible (that is, in the same zone) by the query originator. This query yields only P1.
The iSNS server then queries its own database to convert the Fibre Channel devices to the
corresponding iSCSI targets. This is based on the iSCSI configuration, such as virtual-target and its
access control setting or whether the dynamic Fibre Channel target import feature is enabled or
The iSNS server sends a response back to the query initiator. This response contains a list all iSCSI
portals known to the iSNS server. This means iqn.host1 can choose to log in to target P1 through
either SW-1 (at Gigabitethernet 2/1) or SW-2 (at Gigabitethernet 3/1).
If the initiator chooses to log in to SW-1 and later that port becomes inaccessible (for example,
Gigabitethernet 2/1 goes down), the initiator has the choice to move to connect to target P1 through
port Gigabitethernet 3/1 on SW-2 instead.
If the target either goes down or is removed from the zone, the iSNS server sends out an iSNS State
Change Notification (SCN) message to the initiator so that the initiator can remove the session.
Enabling the iSNS Server, page 42-85
iSNS Configuration Distribution, page 42-85
Configuring the ESI Retry Count, page 42-85
OL-16184-01, Cisco MDS SAN-OS Release 3.x