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-85
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 42 Configuring iSCSI
iSNS
•
Configuring the Registration Period, page 42-86
•
iSNS Client Registration and Deregistration, page 42-86
•
Target Discovery, page 42-86
•
Verifying the iSNS Server Configuration, page 42-87
Enabling the iSNS Server
Before the iSNS server feature can be enabled, iSCSI must be enabled (see the
“Enabling iSCSI” section
on page 42-4
). When you disable iSCSI, iSNS is automatically disabled. When the iSNS server is
enabled on a switch, every IPS port whose corresponding iSCSI interface is up is capable of servicing
iSNS registration and query requests from external iSNS clients.
To enable the iSNS server, follow these steps:
Note
If you are using VRRP IPv4 addresses for discovering targets from iSNS clients, ensure that the IP
address is created using the
secondary
option (see the
“Adding Virtual Router IP Addresses” section on
page 43-20
).
iSNS Configuration Distribution
You can use the CFS infrastructure to distribute the iSCSI initiator configuration to iSNS servers across
the fabric. This allows the iSNS server running on any switch to provide a querying iSNS client a list of
iSCSI devices available anywhere on the fabric. For information on CFS, see
Chapter 6, “Using the CFS
Infrastructure.”
To enable iSNS configuration distribution using, follow these steps:
Configuring the ESI Retry Count
The iSNS client registers information with its configured iSNS server using an iSNS profile. At
registration, the client can indicate an entity status inquiry (ESI) interval of 60 seconds or more. If the
client registers with an ESI interval set to zero (0), then the server does not monitor the client using ESI.
In such cases, the client’s registrations remain valid until explicitly deregistered or the iSNS server
feature is disabled.
Command
Purpose
Step 1
switch#
config t
switch(config)#
Enters configuration mode.
Step 2
switch(config)#
isns-server enable
Enables the iSNS server.
switch(config)#
no
isns-server enable
Disables (default) the iSNS server.
Command
Purpose
Step 1
switch#
config t
switch(config)#
Enters configuration mode.
Step 2
switch(config)#
isns distribute
Uses the CFS infrastructure to distribute the iSCSI
virtual target configuration to all switches in the fabric.
switch(config)#
no
isns distribute
Stops (default) the distribution of iSCSI virtual target
configuration to all switches in the fabric.