Se 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 ck - d o c @ c i s c o . c o m .
C H A P T E R 35
Configuring iSCSI
Cisco MDS 9000 Family IP storage (IPS) services extend the reach of Fibre Channel SANs by using
Note The iSCSI feature is specific to the IPS module and is available in Cisco MDS 9200 Switches or Cisco MDS 9500 Directors.
The Cisco MDS 9216I switch and the 14/2 Multiprotocol Services
For information on configuring Gigabit Ethernet interfaces, see the ???Configuring Gigabit Ethernet Interfaces??? section on page
This chapter includes the following sections:
???Configuring iSCSI, page
???iSCSI High Availability, page
iSCSI Authentication Setup Guidelines and Scenarios, page
About iSNS Client Functionality, page
About iSCSI
The iSCSI feature consists of routing iSCSI requests and responses between iSCSI hosts in an IP network and Fibre Channel storage devices in the Fibre Channel SAN that are accessible from any Fibre Channel interface of the Cisco MDS 9000 Family switch (see Figure
Chapter 35 Configuring iSCSI
About iSCSI
Figure
IP host A
iscsi
Intelligent
(Through the IPS module)
Each iSCSI host that requires access to storage through the IPS module or
The IPS module or
The IPS module or
Figure
iSCSI
Chapter 35 Configuring iSCSI
Configuring iSCSI
Fibre Channel SAN
IP
iSCSINetwork
host A
Figure
IP host A
iqn.host A
iSCSI Session
Routing SCSI from the IP host to the Fibre Channel storage device consists of the following main actions:
The iSCSI requests and responses are transported over an IP network between the hosts and the IPS module or
The SCSI requests and responses are routed between the hosts on an IP network and the Fibre Channel storage device (converting iSCSI to FCP and vice versa). The IPS module or
The FCP requests or responses are transported between the IPS module or
FCP (the Fibre Channel equivalent of iSCSI) carries SCSI commands over a Fibre Channel SAN. Refer to the IETF standards for IP storage at http://www.ietf.org for information on the iSCSI protocol.
Configuring iSCSI
Cisco MDS 9000 Family Configuration Guide
Chapter 35 Configuring iSCSI
Configuring iSCSI
???
???
???
???Presenting iSCSI Hosts as Virtual Fibre Channel Hosts, page
iSCSI Session Authentication, page
iSCSI Immediate Data and Unsolicited Data Features, page
Displaying iSCSI Information, page
Enabling iSCSI
To use the iSCSI feature, you must explicitly enable iSCSI on the required switches in the fabric. By default, this feature is disabled in all switches in the Cisco MDS 9000 Family.
To enable iSCSI on any participating switch, follow these steps:
Step 1
Step 2
Caution When you disable this feature, all related configurations are automatically discarded.
Creating iSCSI Interfaces
Step 1
switch# config terminal
switch(config)# interface gigabitethernet 2/1
Step 2
exit
interface iscsi 2/1 no shutdown
Chapter 35 Configuring iSCSI
Configuring iSCSI
Presenting Fibre Channel Targets as iSCSI Targets
???Dynamic
???Static
Static mapping should be used when iSCSI hosts should be restricted to subsets of LUs in the Fibre Channel targets and/or iSCSI access control is needed (see the ???iSCSI Access Control??? section on page
The IPS module or
Dynamic Mapping
The iSCSI target node name is created automatically using the iSCSI qualified name (IQN) format. The iSCSI qualified name is restricted to a maximum name length of 223 alphanumeric characters and a minimum length of 16 characters.
The IPS module or
??? IPS Gigabit Ethernet ports that are not part of a VRRP group or PortChannel use this format:
Cisco MDS 9000 Family Configuration Guide
Dynamic Target Mapping
pwwn 31.00.11.22.33.44.55.66
IP host A
iSCSI
iqn.host A
Virtual iSCSI Target
iscsi import target fc
Static Mapping
You can manually (statically) create an iSCSI target by assigning a
Figure
host B
IP
iSCSINetwork
Target pwwn 31:00:11:22:33:44:55:66
120875
Step 1
Step 2iscsi
Tip
Chapter 35 Configuring iSCSI
Configuring iSCSI
Note
Advertising Static iSCSI Targets
Step 1
interface GigabitEthernet 2/5
no advertise interface GigabitEthernet 2/5
iSCSI Virtual Target Configuration Examples
Example 1
Figure
pWWN 28:00:01:02:03:04:05:06
Example 2
Figure
iSCSI view of storage device
112190
Example 3
Figure
iSCSI view of storage device
112191
Presenting iSCSI Hosts as Virtual Fibre Channel Hosts
Initiator Identification
???
???
Step 1
Step 2
Step 3
Chapter 35 Configuring iSCSI
Configuring iSCSI
Initiator Presentation Modes
???
to Fibre Channel, each host can have different zoning or LUN access control on the Fibre Channel storage device.
???In
The Cisco MDS switches support the following iSCSI session limits:
???The maximum number of iSCSI sessions on a switch is 5000.
???The maximum number of iSCSI sessions per IPS port in transparent initiator mode is 500.
???The maximum number of iSCSI sessions per IPS port in proxy initiator mode is 250.
???The maximum number of concurrent iSCSI sessions allowed per port is 10.
Note If more than 10 iSCSI sessions try to come up simultaneously on a port, the initiator receives a temporary error and later retries to create a session.
Transparent Initiator Mode
Cisco MDS 9000 Family Configuration Guide
Chapter 35 Configuring iSCSI
Configuring iSCSI
???
???
???SCSI_FCP in the
When all the iSCSI sessions from the iSCSI host are terminated, the IPS modules or
For every iSCSI session from the host to the iSCSI virtual target there is a corresponding Fibre Channel session to the real Fibre Channel target. In Figure
Cisco MDS 9000 Family Configuration Guide
Chapter 35 Configuring iSCSI
Configuring iSCSI
iSCSI Initiator Idle Timeout
WWN Assignment for iSCSI Initiators
An iSCSI host is mapped to an N port???s WWNs by one of the following mechanisms:
???Dynamic mapping (default)
???Static mapping
Dynamic Mapping
The WWNs are allocated from the MDS switch's WWN pool. The WWN mapping to the iSCSI host is maintained as long as the iSCSI host has at least one iSCSI session to the IPS port. When all iSCSI sessions from the host are terminated and the IPS module or
Dynamic mapping is the default mode of operation.
Static Mapping
???
???
Cisco MDS 9000 Family Configuration Guide
name
Step 1
Step 2
no iscsi initiator name
config terminal
iscsi initiator
no iscsi initiator
static nWWN
static nWWN
20:00:00:05:30:00:59:11
static pWWN
static pWWN
21:00:00:20:37:73:3b:20
Making the Dynamic Initiator WWN Mapping Static
Step 1
Step 2s
Step 4
Checking for WWN Conflicts
install all
switch#
switch(config)#
switch(config)#
Step 3
Step 4
VSAN Membership for iSCSI
???
???
VSAN Membership for iSCSI Hosts
Step 1
Step 2
Step 3
Note
Chapter 35 Configuring iSCSI
Configuring iSCSI
Note
VSAN Membership for iSCSI Interfaces
Tip
no iscsi interface
Step 1
Step 2
Step 3
Step 4
Example of VSAN membership for iSCSI devices
???
???
???
Cisco MDS 9000 Family Configuration Guide
Chapter 35 Configuring iSCSI
Configuring iSCSI
Advanced VSAN membership for iSCSI hosts
iSCSI Access Control
???
???
Fibre Channel Zoning Based Access Control
devices. Zoning is the standard access control mechanism for Fibre Channel devices which is applied within the context of a VSAN. Fibre Channel zoning has been extended to support iSCSI devices and their extension has the advantage of having a uniform, flexible access control mechanism across the whole SAN.
Cisco MDS 9000 Family Configuration Guide
Chapter 35 Configuring iSCSI
Configuring iSCSI
Common mechanisms of identifying members in Fibre Channel Zone are the following (see Chapter 19, ???Configuring and Managing Zones??? for details of Fibre Channel Zoning):
???Fibre Channel device pWWN
???Interface and Switch WWN. Device connecting via that interface is within the zone:
In the case of iSCSI, behind an iSCSI interface multiple iSCSI devices may be connected. Interface based zoning may not be useful because all the iSCSI devices behind the interface will automatically be within the same zone.
In transparent initiator mode (where one Fibre Channel virtual N port is created for each iSCSI host as described in the ???Transparent Initiator Mode??? section on page
Zoning membership mechanism has been enhanced to add iSCSI devices to zones based on the following:
???IP address/mask (IP subnet)
???
For iSCSI hosts that do not have a static WWN mapping, the feature allows the IP address or iSCSI node name to be specified as zone members. Note that iSCSI hosts that have static WWN mapping can also use these features. IP address based zone membership allows multiple devices to be specified in one command by providing the subnet mask.
Note In proxy initiator mode, all iSCSI devices connecting to an IPS port gain access to the Fibre Channel fabric via a single virtual Fibre Channel N port. Thus, zoning based on the iSCSI node name or IP address will not have any effect. If zoning based on pWWN is used then all iSCSI devices connecting to that IPS port will be put in the same zone. To implement individual initiator access control in proxy initiator mode, configure a iSCSI ACL on the virtual target (see the ???iSCSI ACL Based Access Control??? section on page
To add an iSCSI initiator to the zone database, follow these steps:
10.50.1.1
10.50.1.1
20:00:00:05:30:00:59:11
20:00:00:05:30:00:59:11
Cisco MDS 9000 Family Configuration Guide
iSCSI ACL Based Access Control
???
???
???
Note
Step 1
Step 2
Step 3
Step 4
Chapter 35 Configuring iSCSI
Configuring iSCSI
Enforcing Access Control
???
???
its login is rejected. If the iSCSI host is allowed, it validates if the virtual Fibre Channel N port used by the iSCSI host and the Fibre Channel target mapped to the static iSCSI virtual target are in the same Fibre Channel zone.
If the iSCSI target is an
The IPS module or
The IPS module or
For CHAP username or secret validation you can use any method supported and allowed by the Cisco MDS AAA infrastructure (see Chapter 28, ???Configuring RADIUS and TACACS+???). AAA authentication supports RADIUS, TACACS+, or local authentication device.
The aaa authentication iscsi command enables aaa authentication for the iSCSI host and specifies the method to use.
Cisco MDS 9000 Family Configuration Guide
To configure AAA authentication for an iSCSI user, follow these steps:
Enters configuration mode.
iscsi default group RadServerGrp
aaa authentication iscsi default group TacServerGrp
aaa authentication iscsi default local
You can configure iSCSI CHAP or None authentication at both the global level and at each interface level.
The authentication for a Gigabit Ethernet interface or subinterface overrides the authentication method configured at the global level.
If CHAP authentication should always be used, issue the iscsi authentication chap command at either the global level or at a
To configure the authentication mechanism for iSCSI, follow these steps:
config t
iscsi authentication
chap
To configure the authentication mechanism for iSCSI sessions to a particular interface, follow these steps:
config t
interface GigabitEthernet 2/1.100
iscsi
authentication none
See the ???Configuring User Accounts??? section on page
Step 1
Step 2
Restricting iSCSI Initiator Authentication
Step 1
Step 2
Step 3
Tip
Mutual CHAP Authentication
Step 1
Chapter 35 Configuring iSCSI
Configuring iSCSI
Step 2
iSCSI Immediate Data and Unsolicited Data Features
Cisco MDS 9000 Family Configuration Guide
These two features help reduce I/O time for small write commands because it removes one
If an iSCSI initiator supports immediate data and unsolicited data features, these features are automatically enabled on the MDS switch with no configuration required.
iSCSI Interface Advanced Features
Enters configuration mode.
Selects the iSCSI interface on the switch.
iSCSI Listener Port
TCP Tuning Parameters
???
defaults are
See the ???Minimum Retransmit Timeout??? section on page
QoS
Configure the differentiated services code point (DSCP) value of 3 to be applied to all outgoing IP packets in this iSCSI interface. The valid range for the iSCSI DSCP value is from 0 to 63.
Reverts the switch to its factory default (marks all packets with DSCP value 0).
iSCSI Routing Modes
Each mode negotiates different operational parameters, has different advantages and disadvantages, and is suitable for different usages.
In
In the opposite direction, the port on the IPS module or MPS 14/2 module limits the maximum size of iSCSI write
The absence of buffering in both directions leads to an advantage of lower forwarding latency. However, a small maximum data segment length usually results in lower data transfer performance from the host due to a higher processing overhead by the host system. Another benefit of this mode is iSCSI data digest can be enabled. This helps protect the integrity of iscsi data carried in the PDU over what TCP checksum offers.
In
In the opposite direction, the port on the IPS module or MPS 14/2 module does not impose a small data segment size on the host so the iSCSI host can send an iSCSI
The advantage of this mode is higher data transfer performance from the host. The disadvantages are higher transfer latency and that the iSCSI data digest (CRC) cannot be used.
The
Pass
Store
Cut
Command1
Command
Command1
Command
Command1
TCP part 1 contains iSCSI
Command
iSCSI Data-
in PDU #1, Data1
DSlen = 1KB
iSCSI
iSCSI
Status
Data1
Wait for all Data to arrive
Data16
TCP part 1 contains iSCSI
TCP part 2
Data frame is forwarded as it is received
DSlen = 16KB
Data2
TCP part 2
Data16
TCP part 16
Status
Response1
Response1
Command2
TCP part 16
Status
Response1
Command2
Command2
130687
Chapter 35 Configuring iSCSI
Configuring iSCSI
Displaying iSCSI Information
Displaying iSCSI Interfaces
Example
iscsi4/1 is up
Hardware is GigabitEthernet
Port WWN is 20:cf:00:0c:85:90:3e:80 Admin port mode is ISCSI
Port mode is ISCSI Speed is 1 Gbps
iSCSI initiator is identified by name
Number of iSCSI session: 0 (discovery session: 0)
Number of TCP connection: 0 Configured TCP parameters
Local Port is 3260
PMTU discover is enabled, reset timeout is 3600 sec
Sack is enabled
QOS code point is 0
Maximum allowed bandwidth is 1000000 kbps Minimum available bandwidth is 70000 kbps Estimated round trip time is 1000 usec Send buffer size is 4096 KB
Congestion window monitoring is enabled, burst size is 50 KB Configured maximum jitter is 500 us
Forwarding mode:
TMF Queueing Mode : disabled
Proxy Initiator Mode : disabled
5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec 5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec iSCSI statistics
Input 0 packets, 0 bytes
Command 0 pdus,
Response 0 pdus (with sense 0), R2T 0 pdus
Cisco MDS 9000 Family Configuration Guide
switch#
iscsi2/1
5 minutes input rate 704 bits/sec, 88 bytes/sec, 1 frames/sec 5 minutes output rate 704 bits/sec, 88 bytes/sec, 1 frames/sec
iSCSI statistics
974756 packets input, 142671620 bytes
Command 2352 pdus,
bytes
show iscsi stats iscsi 2/1 detail
FCP Forward:
Xfer_rdy:1804 (Rcvd:1804)
Response:2352 (Rcvd:2362), with sense 266
TMF Resp:0
Login:attempt:13039, succeed:110, fail:12918, authen fail:0
Bad header digest:0
Sent:PLOGI:10, Rcvd:PLOGI_ACC:10, PLOGI_RJT:0
PRLI:10, Rcvd:PRLI_ACC:10, PRLI_RJT:0, Error:0, From initiator:0 LOGO:4, Rcvd:LOGO_ACC:0, LOGO_RJT:0
PRLO:4, Rcvd:PRLO_ACC:0, PRLO_RJT:0 ABTS:0, Rcvd:ABTS_ACC:0
TMF REQ:0
Self orig command:10, Rcvd:data:10, resp:10 Rcvd:PLOGI:156, Sent:PLOGI_ACC:0, PLOGI_RJT:156
LOGO:0, Sent:LOGO_ACC:0, LOGO_RJT:0
PRLI:8, Sent:PRLI_ACC:8, PRLI_RJT:0
PRLO:0, Sent:PRLO_ACC:0, PRLO_RJT:0 ADISC:0, Sent:ADISC_ACC:0, ADISC_RJT:0 ABTS:0
Command:Target down 0, Task in progress 0, LUN map fail 0 CmdSeqNo not in window 0, No Exchange ID 0, Reject 0 No task:0
Unsolicited data:0, Immediate command PDU:0
Xfer_rdy:0,
Buffer Stats:
Buffer less than header size:0, Partial:45231, Split:322
Pullup give new buf:0, Out of contiguous buf:0, Unaligned m_data:0
WWNs
show interface iscsi 4/2
Displaying Global iSCSI Information
Displays the Current Global iSCSI Configuration and State
Example
Target VT1
VSAN 1, ISID 00023d000046, Status active, no reservation
Session #3
Target VT2
VSAN 1, ISID 00023d000048, Status active, no reservation
Initiator 10.10.100.199
Initiator name
Target VT2
VSAN 1, ISID 246700000000, Status active, no reservation
Session #2
Target VT1
VSAN 1, ISID 246b00000000, Status active, no reservation
Session #3
Target
VSAN 1, ISID 246e00000000, Status active, no reservation
switch# show iscsi session initiator 10.10.100.199 target VT1
show iscsi session initiator 10.10.100.199 target VT1 detail
DataSeqInOrder No, InitialR2T Yes, ImmediateData No Registered LUN 0, Mapped LUN 0
Stats:
PDU: Command: 38, Response: 38
Bytes: TX: 8712, RX: 0 Number of connection: 1 Connection #1
Local IP address: 10.10.100.200, Peer IP address: 10.10.100.199
CID 0, State: LOGGED_IN
StatSN 62, ExpStatSN 0
MaxRecvDSLength 1024, our_MaxRecvDSLength 1392 CSG 3, NSG 3, min_pdu_size 48 (w/ data 48)
AuthMethod none, HeaderDigest None (len 0), DataDigest None (len 0) Version Min: 2, Max: 2
FC target: Up, Reorder PDU: No, Marker send: No (int 0)
Received MaxRecvDSLen key: No
switch#
iSCSI Node name is
iSCSI alias name:
Node WWN is 22:01:00:05:30:00:10:e1 (configured) Member of vsans: 1, 2, 10
Number of Virtual n_ports: 1
Virtual Port WWN is 22:04:00:05:30:00:10:e1 (configured) Interface iSCSI 4/1, Portal group tag: 0x180
VSAN ID 1, FCID 0x6c0202
VSAN ID 2, FCID 0x6e0000
VSAN ID 10, FCID 0x790000
iSCSI Node name is 10.10.100.199
iSCSI Initiator name:
iSCSI alias name:
Node WWN is 22:03:00:05:30:00:10:e1 (configured) Member of vsans: 1, 5
Number of Virtual n_ports: 1
Virtual Port WWN is 22:00:00:05:30:00:10:e1 (configured) Interface iSCSI 4/1, Portal group tag: 0x180
VSAN ID 5, FCID 0x640000
VSAN ID 1, FCID 0x6c0203
switch#
iSCSI Node name is
iSCSI alias name:
Node WWN is 22:01:00:05:30:00:10:e1 (configured) Member of vsans: 1, 2, 10
Number of Virtual n_ports: 1
Virtual Port WWN is 22:04:00:05:30:00:10:e1 (configured) Interface iSCSI 4/1, Portal group tag is 0x180
VSAN ID 1, FCID 0x6c0202
1 FC sessions, 1 iSCSI sessions iSCSI session details
Target: VT1 Statistics:
PDU: Command: 0, Response: 0
Bytes: TX: 0, RX: 0
Number of connection: 1 TCP parameters
Local 10.10.100.200:3260, Remote 10.10.100.116:4190 Path MTU: 1500 bytes
Retransmission timeout: 310 ms
Round trip time: Smoothed 160 ms, Variance: 38
Advertized window: Current: 61 KB, Maximum: 62 KB, Scale: 0
Peer receive window: Current: 63 KB, Maximum: 63 KB, Scale: 0
Congestion window: Current: 1 KB
FCP Session details
Target FCID: 0x6c01e8 (S_ID of this session: 0x6c0202)
pWWN: 21:00:00:20:37:62:c0:0c, nWWN: 20:00:00:20:37:62:c0:0c
Session state: CLEANUP
1 iSCSI sessions share this FC session Target: VT1
Negotiated parameters
RcvDataFieldSize 1392 our_RcvDataFieldSize 1392 MaxBurstSize 0, EMPD: FALSE
Random Relative Offset: FALSE,
PDU: Command: 0, Response: 0
switch# VSAN 1:
VSAN 2:
VSAN 3:
Total number of entries = 10
======================================================================
Total number of entries = 1
...
switch# show iscsi initiator configured
iSCSI High Availability
Displaying iSCSI Virtual Targets
*Port WWN 21:00:00:20:37:62:c0:0c Configured node
all initiator permit is enabled
target: VT2
Port WWN 21:00:00:04:cf:4c:52:c1 Configured node
all initiator permit is disabled
target:
Displaying iSCSI User Information
iSCSI High Availability
???
???
???
???
Transparent Target Failover
???
???
Chapter 35 Configuring iSCSI
iSCSI High Availability
iSCSI High Availability with Host Running
Cisco MDS 9000 Family Configuration Guide
Chapter 35 Configuring iSCSI
iSCSI High Availability
iSCSI HA with Host Not Having Any
???
???
Tip
Step 1
Step 2
Cisco MDS 9000 Family Configuration Guide
Chapter 35 Configuring iSCSI
iSCSI High Availability
Step 3
Note
Step 4
Step 5
Storage Port Failover LUN Trespass
Cisco MDS 9000 Family Configuration Guide
Chapter 35 Configuring iSCSI
iSCSI High Availability
Step 1
Step 2
Step 3
Step 4
105219
Multiple IPS Ports Connected to the Same IP Network
Cisco MDS 9000 Family Configuration Guide
Chapter 35 Configuring iSCSI
iSCSI High Availability
iSCSI
HBA
Logical view
IP network
Network portal 10.1.1.1 Network portal 10.1.10.100
FC
FC
90861
Cisco MDS 9000 Family Configuration Guide
Chapter 35 Configuring iSCSI
iSCSI High Availability
Physical view (iSCSI)
VRRP across two ports
Logical view
Virtual
FC
lqn.com.cisco.mds.vr1.gw.p1
90862
Cisco MDS 9000 Family Configuration Guide
Chapter 35 Configuring iSCSI
iSCSI Authentication Setup Guidelines and Scenarios
Ethernet
Note
iSCSI
Ethernet PortChannel
IP network
iSCSI
HBA
FC
90863
Note
iSCSI Authentication Setup Guidelines and Scenarios
???
???
???
Note
Cisco MDS 9000 Family Configuration Guide
Chapter 35 Configuring iSCSI
iSCSI Authentication Setup Guidelines and Scenarios
No Authentication
CHAP with Local Password Database
Step 1
Step 2
Step 3
Note
Step 4
CHAP with External RADIUS Server
Step 1
Step 2
Step 3
Step 4
Step 5
Cisco MDS 9000 Family Configuration Guide
Chapter 35 Configuring iSCSI
iSCSI Authentication Setup Guidelines and Scenarios
Step 6
Step 7
Step 1
Step 2
Step 3
iSCSI Transparent Mode Initiator
???
???
???
???
???
Cisco MDS 9000 Family Configuration Guide
Chapter 35 Configuring iSCSI
iSCSI Authentication Setup Guidelines and Scenarios
???
10.15.1.10
01.25589167F74C iSCSI
Host 2
7/5
Step 1
Step 2
Step 3
Interface fc 2/1 21:00:00:20:37:6f:fd:97
Interface fc 2/5 21:00:00:20:37:6f:fe:54
Interface fc 2/9 21:00:00:20:37:a6:a6:5d
94136
Note
Step 4
Step 5
Cisco MDS 9000 Family Configuration Guide
Chapter 35 Configuring iSCSI
iSCSI Authentication Setup Guidelines and Scenarios
Step 6
Note
Step 7
Step 8
Step 9
Step 10
Step 11
Cisco MDS 9000 Family Configuration Guide
Chapter 35 Configuring iSCSI
iSCSI Authentication Setup Guidelines and Scenarios
Step 12
Note
Cisco MDS 9000 Family Configuration Guide
Host 2: Initiator
FCID resolved for
host 1
Target Storage Device Requiring LUN Mapping
???
???
???
???
Switch 1
iSCSI
iSCSI
VSAN 2
Host 2
Step 1
Step 2
iSCSI
Interface fc 2/1 21:00:00:20:37:6f:fd:97
Interface fc 2/5 21:00:00:20:37:6f:fe:54
Interface fc 2/9 21:00:00:20:37:a6:a6:5d
94137
Step 3
Step 4
Chapter 35 Configuring iSCSI
iSCSI Authentication Setup Guidelines and Scenarios
Step 5
Step 6
Step 7
Note
Step 8
Note
Step 9
Step 10
Note
???
???
show iscsi initiator
Cisco MDS 9000 Family Configuration Guide
Chapter 35 Configuring iSCSI
iSCSI Authentication Setup Guidelines and Scenarios
Step 11
Note
Step 12
Zoneset activation initiated. check zone status switch#
zoneset name
*fcid 0x750001 [pwwn 21:00:00:20:37:6f:fe:54]
*fcid 0x750101 [pwwn 21:00:00:20:37:a6:a6:5d] pwwn 20:06:00:0b:fd:44:68:c2
switch#
Initiator
Session #1
Discovery session, ISID 00023d000001, Status active
Session #2
Target
VSAN 1, ISID 00023d000001, Status active, no reservation
switch#
iSCSI Node name is
iSCSI alias name: oasis10.cisco.com
Cisco MDS 9000 Family Configuration Guide
Session to
target
About iSCSI Storage Name Services
???
???
???
???
???
About iSNS Client Functionality
; a unique entity is associated with each IPS interface
The iSNS client uses a registration interval value of 15 minutes. If the client fails to refresh the registration during this interval, the server will deregister the entries.
Creating an iSNS Client Profile
Step 1
Step 2
Step 3
Step 1
Step 2
Creating an iSNS Client Profile
Step 1
Step 2
Step 3
Step 1
Step 2
Step 3
isns reregister
Verifying iSNS Client Configuration
show isns profile
Chapter 35 Configuring iSCSI
Creating an iSNS Client Profile
show isns profile counters
show isns
Displays iSNS Queries
Cisco MDS 9000 Family Configuration Guide
Example
^^^^^^^^^^^^^^^^
5 minutes input rate 112 bits/sec, 14 bytes/sec, 0 frames/sec 5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec 1935 packets input, 132567 bytes
4 multicast frames, 0 compressed
0 input errors, 0 frame, 0 overrun 0 fifo
1 packets output, 42 bytes, 0 underruns
0 output errors, 0 collisions, 0 fifo
0 carrier errors
discover
1.
2.
3.
4.
5.
6.
7.
8.
130914
Configuring iSNS Servers
Chapter 35 Configuring iSCSI
Configuring iSNS Servers
Enabling the iSNS Server
Before iSNS server feature can be enabled, iSCSI must be enabled (see the ???Enabling iSCSI??? section on page
Step 1
Step 2
Note
iSCSI Configuration Distribution
Step 1
Step 2
Configuring the ESI Retry Count
Cisco MDS 9000 Family Configuration Guide
Chapter 35 Configuring iSCSI
Configuring iSNS Servers
iSNS Client Registration and Deregistration
Target Discovery
DevGetNext
DevAttrQuery
Cisco MDS 9000 Family Configuration Guide
Displays Explicitly Registered Objects
SCN Bitmap: OBJ_UPDATED|OBJ ADDED|OBJ REMOVED|TARGET&SELF
Node Alias: <MS SW iSCSI Initiator>
switch#
Entity Id: isns.entity.mds9000
and node type attribute in a compact format; one per line.
switch#
iSCSI Node NameType
WWN(s):
22:00:00:20:37:39:dc:45 VSANS: 1
Configured Switch WWN: 20:00:00:0d:ec:01:04:40
switch#
IPAddress TCP Port IndexSCN PortESI port
switch#
IPAddress TCP Port IndexSCN PortESI port
switch#
IPAddress TCP Port IndexSCN PortESI port
nodes in that entity (see Example
switch1#
Entity IDLast Accessed
switch#
Entity IDLast Accessed
Example
switch#
iSCSI Global configuration:
Switch: 20:00:00:05:ec:01:04:00 iSCSI Auto Import: Enabled
switch#
iSCSI Global configuration:
Switch: 20:00:44:0d:ec:01:02:40 iSCSI Auto Import: Enabled
Total number of entries = 1
Default Settings
Chapter 35 Configuring iSCSI
Default Settings
CHAP or none authentication mechanism.
Cisco MDS 9000 Family Configuration Guide
Chapter 35 Configuring iSCSI
Default Settings
Cisco MDS 9000 Family Configuration Guide