> # iSCSI Transparent Mode Initiator Example

> This examples assumes the following configuration:

> - No LUN mapping or LUN masking or any other access control for hosts on the target device
> - No iSCSI login authentication (that is, login authentication set to none)
> - The topology is as follows:
> - iSCSI interface 7/1 is configured to identify initiators by IP address.
> - iSCSI interface 7/5 is configured to identify initiators by node name.
> - The iSCSI initiator host 1 with IPv4 address 10.11.1.10 and name iqn.1987-05.com.cisco:01.255891611111 connects to IPS port 7/1 is identified using IPv4 address (host 1 = 10.11.1.10).
> - The iSCSI initiator host 2 with IPv4 address 10.15.1.10 and node name iqn.1987-05.com.cisco:01.25589167f74c connects to IPS port 7/5.

> ## Detailed Steps

> To configure this example, follow these steps:

> 1. Configure null authentication for all iSCSI hosts in Cisco MDS switches.
> 1. In Cisco DCNM-SAN, choose End Devices > iSCSI in the Physical Attributes pane.
> 2. Select none from the AuthMethod drop-down menu in the Information pane.
> 3. Click the Apply Changes icon.
> 2. Configure iSCSI to dynamically import all Fibre Channel targets into the iSCSI SAN using auto-generated iSCSI target names.
> 1. In Device Manager, click IP > iSCSI.
> 2. Click the Targets tab.
> 3. Check the Dynamically Import FC Targets check box.
> 4. Click Apply.
> 3. Configure the Gigabit Ethernet interface in slot 7 port 1 with an IPv4 address and enable the interface.
> 1. In Cisco DCNM-SAN, choose Switches > Interfaces > Gigabit Ethernet in the Physical Attributes pane.
> 2. Select the IP Address tab in the Information pane and click Create Row.
> 3. Set the IP address and subnet mask for the Gigabit Ethernet interface in slot 7 port 1.
> 4. Click Create.
> 5. Select the General tab and select up from the Admin drop-down menu for the Gigabit Ethernet interface in slot 7 port 1.
> 6. Click the Apply Changes icon.

> Note Host 2 is connected to this port.

> 4. Configure the iSCSI interface in slot 7 port 1 to identify all dynamic iSCSI initiators by their IP address, and enable the interface.
> 1. In Cisco DCNM-SAN, choose Switches > Interfaces > FC Logical in the Physical Attributes pane.
> 2. Click the iSCSI tab in the Information pane.
> 3. Select ipaddress from the Initiator ID Mode drop-down menu and click the Apply Changes icon.
> 4. In Device Manager, choose Interfaces > Ethernet and iSCSI.
> 5. Click the iSCSI tab.
> 6. Select up from the Admin drop-down menu for the iSCSI interface in slot 7 port 1.
> 7. Click Apply.
> 5. Configure the Gigabit Ethernet interface in slot 7 port 5 with an IPv4 address and enable the interface.
> 1. In Cisco DCNM-SAN, choose Switches > Interfaces > Gigabit Ethernet in the Physical Attributes pane.
> 2. Click the IP Address tab in the Information pane and click Create Row.
> 3. Set the IP address and subnet mask for the Gigabit Ethernet interface in slot 7 port 5.
> 4. Click Create.
> 5. Select the General tab and select up from the Admin drop-down menu for the Gigabit Ethernet interface in slot 7 port 5.
> 6. Click the Apply Changes icon.
> 6. Configure the iSCSI interface in slot 7 port 5 to identify all dynamic iSCSI initiators by node name and enable the interface.
> 1. In Cisco DCNM-SAN, choose Switches > Interfaces > FC Logical in the Physical Attributes pane.
> 2. Click the iSCSI tab in the Information pane.
> 3. Select name from the Initiator ID Mode drop-down menu and click the Apply Changes icon.
> 4. In Device Manager, choose Interfaces > Ethernet and iSCSI.
> 5. Click the iSCSI tab.
> 6. Select up from the Admin drop-down menu for the iSCSI interface in slot 7 port 5.
> 7. Click Apply.

> Note Host 1 is connected to this port.

> 7. Verify the available Fibre Channel targets.
> 1. In Device Manager, Choose FC > Name Server.
> 2. Click the General tab.
> 8. Create a zone named iscsi-zone-1 with host 1 and one Fibre Channel target in it.

> Note Use the IP address of the host in zone membership configuration because the iSCSI interface is configured to identify all hosts based on IP address.

> 1. In Cisco DCNM-SAN, choose Zones > Edit Local Full Zone Database.
> 2. Select VSAN 1 from the VSAN drop-down menu in the Edit Local Full Zone Database dialog box.
> 3. Select the Zones folder in the left navigation pane and click Insert.
> 4. Set the Zone Name field to iscsi-zone-1 and click OK.
> 5. Select the iscsi-zone-1 folder in the left navigation pane and click Insert.
> 6. Set the ZoneBy radio button toWWN.
> 7. Set the Port WWN to the pWWN for the Fibre Channel target (that is, 21:00:00:20:37:6f:fd:97) and click Add.
> 8. Set the ZoneBy radio button to iSCSI IP Address/Subnet.
> 9. Set the IP Address/Mask field to the IP Address for Host 1 iSCSI initiator (10.11.1.10) and click Add.
> 9. Create a zone named iscsi-zone-2 with host 2 and two Fibre Channel targets in it.

> Note Use the symbolic node name of the iSCSI host in zone membership configuration because the iSCSI interface is configured to identify all hosts based on node name.

> 1. In Cisco DCNM-SAN, choose Zones > Edit Local Full Zone Database from the main menu.
> 2. Select VSAN 2 from the VSAN drop-down menu in the Edit Local Full Zone Database dialog box.
> 3. Select the Zones folder in the left navigation pane and click Insert.
> 4. Set the Zone Name field to iscsi-zone-2 and click OK.
> 5. Select the iscsi-zone-2 folder in the left navigation pane and click Insert.
> 6. Set the ZoneBy radio button toWWN.
> 7. Set the Port WWN to the pWWN for one of the Fibre Channel targets (for example, 21:00:00:20:37:6f:fe:5). and click Add.
> 8. Set the Port WWN to the pWWN for another of the Fibre Channel targets (for example, 21:00:00:20:37:a6:a6:5d). and click Add.
> 9. Set the ZoneBy radio button to iSCSI name.
> 10. Set the Port Name field to the symbolic name for host 2 (iqn.1987-05.com.cisco:01.25589167f74c) and click Add.
> 10. Create a zone set, add the two zones as members, and activate the zone set.

> Note iSCSI interface is configured to identify all hosts based on node name.

> 1. In Cisco DCNM-SAN, choose Zones > Edit Local Full Zone Database.
> 2. Select VSAN 1 from the VSAN drop-down menu in the Edit Local Full Zone Database dialog box.
> 3. Select the Zoneset folder in the left navigation pane and click Insert.
> 4. Set the Zoneset Name to zonset-iscsi and click OK.
> 5. Click on the zoneset-iscsi folder and click Insert.
> 6. Set the Zone Name field to iscsi-zone-1 and click OK.
> 7. Set the Zone Name field to iscsi-zone-2 and click OK.
> 8. Click Activate to activate the new zone set.
> 9. Click Continue Activation to finish the activation.
> 11. Bring up the iSCSI hosts (host 1 and host 2).
> 12. Show all the iSCSI sessions.
> 1. In Device Manager, choose Interfaces > Monitor > Ethernet.
> 2. Click the iSCSI connections tab to show all the iSCSI sessions.
> 3. In Device Manager, choose IP > iSCSI and select the Session Initiators tab.
> 4. Click Details.
> 13. In Cisco DCNM-SAN, choose End Devices > iSCSI in the Physical Attributes pane to verify the details of the two iSCSI initiators
> 14. In Cisco DCNM-SAN, choose Zones > Edit Local Full Zone Database to view the active zone set. The iSCSI initiators' FC IDs are resolved.

> 15. In Device Manager, Choose FC > Name Server. The Fibre Channel name server shows the virtual N ports created for the iSCSI hosts.
> 16. In Device Manager, Choose FC > Name Server.
> 17. Click the Advanced tab. Verify the detailed output of the iSCSI initiator nodes in the Fibre Channel name server.

> Copyright 2010-2015, Cisco Systems, Inc. All rights reserved.