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
42-87
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 42 Configuring iSCSI
iSNS
initiator. The iSNS server will subsequently use the iSCSI target configuration(s) (virtual target and
dynamic import configuration) to translate the Fibre Channel target to an equivalent iSCSI target. At this
stage it also applies any access control configured for the virtual target. A response message with the
target details is then sent back to the query initiator.
The iSNS server sends a consolidated response containing all possible targets and portals to the querying
initiator. For example, if a Fibre Channel target is exported as different iSCSI targets on different IPS
interfaces, the iSNS server will respond with a list of all possible iSCSI targets and portals.
In order to keep the list of targets updated, the iSNS server sends state change notifications (SCN) to the
client whenever an iSCSI target becomes reachable or unreachable. The client is then expected to
rediscover its list of accessible targets by initiating another iSNS query. Reachability of iSCSI targets
changes when any one of the following occurs:
•
Target goes up or down.
•
Dynamic import of FC target configuration changes.
•
Zone set changes.
•
Default zone access control changes.
•
IPS interface state changes.
•
Initiator configuration change makes the target accessible or inaccessible.
Verifying the iSNS Server Configuration
Use the
show isns config
command to view the ESI interval and the summary information about the
iSNS database contents (see
Example 42-25
).
Example 42-25 Displays the iSNS Server Configuration of ESI Interval and Database Contents
switch#
show isns config
Server Name: switch1(Cisco Systems) Up since: Fri Jul 30 04:08:16 2004
Index: 1 Version: 1 TCP Port: 3205
fabric distribute (remote sync): ON
ESI
Non Response Threshold: 5 Interval(seconds): 60
Database contents
Number of Entities: 2
Number of Portals: 3
Number of ISCSI devices: 4
Number of Portal Groups: 0
Use the
show isns database
command to view detailed information about the contents of the iSNS
database (see
Example 42-26
through
Example 42-29
). This command displays the full iSNS database
giving all the entities, nodes, and portals registered in the database. This command without options only
displays explicitly registered objects. The asterisk
next to the VSAN ID indicates that the iSCSI node
is in the default zone for that VSAN.
Example 42-26 Displays Explicitly Registered Objects
switch#
show isns database
Entity Id: dp-204
Index: 2 Last accessed: Fri Jul 30 04:08:46 2004
iSCSI Node Name: iqn.1991-05.comdp-2041
Entity Index: 2
Node Type: Initiator(2) Node Index: 0x1