Guest

Cisco SN 5400 Series Storage Routers

HP-UX iSCSI Host to SN 5428 Configuration Example

Document ID: 46241



Contents

Introduction
Prerequisites
      Requirements
      Components Used
      Conventions
Background Information
Configure
      Network Diagram
      Configurations
Verify
      HP-UX Host Commands
      SN 5428 Commands
      Displays
Troubleshoot
NetPro Discussion Forums - Featured Conversations
Related Information

Introduction

Cisco's iSCSI drivers, which reside on the server, are a key component of an iSCSI solution. These iSCSI drivers intercept SCSI commands, encapsulate them into IP packets, and redirect them to the Cisco SN 5420, Cisco SN 5428, Cisco SN 5428-2, or Cisco MDS/IPS-8. This document provides sample configurations for HP-UX iSCSI host to SN 5428.

Prerequisites

Requirements

Before attempting this configuration, ensure that you meet these requirements:

  • Install the iSCSI driver that is compatible to your HP-UX version. The most current version of the driver can be found at the Cisco iSCSI Driver ( registered customers only) download page on Cisco.com. The README.txt file is included in the driver zip(tar) file. The README contains information about the license agreement, driver installation and configuration instructions, and a technical overview of the driver architecture.

  • The operating system requirements and patch requirements are described in the System Requirements section of the Cisco iSCSI Driver for HP-UX Release Notes.

Components Used

The information in this document is based on these software and hardware versions:

  • HP-UX 9000/800 A500 server with two processors.

    Note:  In this lab setup, there was not a separate Ethernet adapter for iSCSI, and the one used was 100 Mb. In any realistic environment, you have a separate Gigabit Ethernet (GE) adapter(s) as your iSCSI initiator(s).

    [/]# /opt/ignite/bin/print_manifest[...] 
    
    System Hardware 
        Model:              9000/800/A500-5X 
        Main Memory:        1024 MB 
        Processors:         2 
        OS mode:            64 bit 
        LAN hardware ID:    0x00306E1B6F51 
        Software ID:        586760518 
        Keyboard Language:  Not_Applicable 
    
        Storage devices                  HW Path      Interface  
        SEAGATE ST318404LC 17366 Mb      0/0/1/1.15.0 SCSI C896 Ultra Wide Single-Ended  
        SEAGATE ST318203LC 17366 Mb      0/0/2/1.15.0 SCSI C875 Ultra Wide Single-Ended  
    
        I/O Interfaces 
        Class          H/W Path       Driver         Description  
        lan            0/0/0/0        btlan3         HP PCI 10/100Base-TX Core  
        ext_bus        0/0/1/0        c720           SCSI C896 Ultra Wide LVD  
        ext_bus        0/0/1/1        c720           SCSI C896 Ultra Wide Single-Ended  
        ext_bus        0/0/2/0        c720           SCSI C875 Fast Wide Single-Ended  
        ext_bus        0/0/2/1        c720           SCSI C875 Ultra Wide Single-Ended  
        tty            0/0/4/0        asio0          PCI Serial (103c1048)  
        tty            0/0/5/0        asio0          PCI Serial (103c1048)  
        fc             0/2/0/0        td             HP Tachyon XL2 Fibre Channel Mass Storage Adapter  
      
    
    Installed Software 
    
        Your system was installed with HP-UX version B.11.00. 
    
        Your system has the following software products installed and  
        configured on the system disk drive(s).  
    
        Product          Revision          Description  
        A6795A           B.11.00.10        PCI Tachyon TL/TS/XL2 Fibre Channel  
        BUNDLE           B.11.00           Patch Bundle  
        HPUXEng64RT      B.11.00.01        English HP-UX 64-bit Runtime Environment  
        HWE1100          B.11.00.0203.5    Hardware Enablement Patches for HP-UX 11.00, March 2002  
        OnlineDiag       B.11.00.20.09     HPUX 11.0 Support Tools Bundle, Mar 2002  
        UXCoreMedia      B.11.00.02        HP-UX Media Kit (Reference Only. See Description)  
        UnlimUserLic     B.11.00.02        HP-UX Unlimited-User License  
        XSWGR1100        B.11.00.47.08     General Release Patches, November 1999 (ACE)  
    
    [...]
  • Cisco iSCSI Driver 3.3.3 for HP-UX. It is recommended that you install the latest stable cumulative ARPA Transport Patch for HP-UX, PHNE_28538.

    [/]# swlist 
    # Initializing... 
    # Contacting target "maymun"... 
    # 
    # Target:  maymun:/ 
    #
    #
    
    # Bundle(s): 
    # 
      A6795A                        B.11.00.10     PCI Tachyon TL/TS/XL2 Fibre Channel 
      BUNDLE                        B.11.00        Patch Bundle 
      HPUXEng64RT                   B.11.00.01     English HP-UX 64-bit Runtime Environment 
      HWE1100                       B.11.00.0203.5 Hardware Enablement Patches for HP-UX 11.00, March 2002 
      OnlineDiag                    B.11.00.20.09  HPUX 11.0 Support Tools Bundle, Mar 2002 
      QPK1100                       B.11.00.56.5   Quality Pack for HP-UX 11.00, March 2002 
      UXCoreMedia                   B.11.00.02     HP-UX Media Kit (Reference Only. See Description) 
      UnlimUserLic                  B.11.00.02     HP-UX Unlimited-User License 
      XSWGR1100                     B.11.00.47.08  General Release Patches, November 1999 (ACE) 
    # 
    # Product(s) not contained in a Bundle: 
    # 
    
      ISCSI                         3.3.3          ISCSI software 
      bison                         1.875          bison 
      flex                          2.5.4a         flex 
      gcc                           3.2.3          gcc 
      gettext                       0.11.5         gettext 
      less                          376            less 
      libiconv                      1.9            libiconv 
      make                          3.80           make 
      ncurses                       5.2            ncurses 
      termcap                       1.3.1          termcap 
      zsh                           4.0.7          zsh 
    
    [/]# swlist BUNDLE 
    # Initializing... 
    # Contacting target "maymun"... 
    # 
    # Target:  maymun:/ 
    # 
    # BUNDLE                B.11.00        Patch Bundle  
      BUNDLE.PHCO_23651     1.0            fsck_vxfs(1M) cumulative patch  
      BUNDLE.PHKL_28496     1.0            SCSI IO Subsystem Cumulative Patch  
      BUNDLE.PHKL_27980     1.0            VxFS 3.1 cumulative patch: CR_EIEM  
      BUNDLE.PHKL_22840     1.0            IDS/9000; syscalls related to file/socket  
      BUNDLE.PHCO_28505     1.0            user/group(add/mod/del)(1M) cumulative patch  
      BUNDLE.PHKL_28150     1.0            LVM Cumulative Patch w/Performance Upgrades  
      BUNDLE.PHNE_28538     1.0            cumulative ARPA Transport patch 
      BUNDLE.PHNE_28143     1.0            LAN product cumulative patch  
      BUNDLE.PHNE_27902     1.0            Cumulative STREAMS Patch  
      BUNDLE.PHKL_29434     1.0            POSIX AIO;getdirentries;MVFS;rcp;mmap/IDS;  
      BUNDLE.PHKL_28766     1.0            Probe,IDDS,PM,VM,PA-8700,AIO,T600,FS,PDC,CLK  
      BUNDLE.PHKL_28004     1.0            Fibre Channel Mass Storage Driver Patch  
      BUNDLE.PHKL_27729     1.0            ioscan -u incorrect display (kernel patch).  
      BUNDLE.PHKL_24187     1.0            ioscan performance gain for SCSI Subsystem  
      BUNDLE.PHKL_24165     1.0            Kernel Patch For "ioscan -k" Performance  
      BUNDLE.PHKL_23409     1.0            NFS, Large Data Space, kernel memory leak  
      BUNDLE.PHKL_20016     1.0            2nd CPU not recognized in G70/H70/I70  
      BUNDLE.PHKL_18543     1.0            PM/VM/UFS/async/scsi/io/DMAPI/JFS/perf patch  
      BUNDLE.PHCO_27818     1.0            ioscan(1M) cumulative patch  
      BUNDLE.PHCO_27375     1.0            cumulative SAM/ObAM patch

The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.

Conventions

For more information on document conventions, refer to the Cisco Technical Tips Conventions.

Background Information

SCSI routing provides IP hosts with access to Fibre Channel (FC) storage devices as if the storage devices were directly attached to the hosts, with access to devices managed primarily in the SN 5428 storage router. An iSCSI target is an arbitrary name for a group of physical storage devices. The iSCSI targets are created and mapped to physical storage devices attached to the SN 5428. The storage router presents the iSCSI targets to IP hosts as if the physical storage devices were directly attached to the hosts. With SCSI routing, storage devices are not aware of each IP host; the storage devices are aware of the SN 5428 and respond to it as if it were one FC host.

SCSI routing consists of routing SCSI requests and responses between hosts in an IP network and FC storage. Each host that requires IP access to storage by way of an SN 5428 storage router needs to have a compatible iSCSI driver installed. Using the iSCSI protocol, the iSCSI driver allows an IP host to transport SCSI requests and responses over an IP network. From the perspective of a host operating system, the iSCSI driver appears to be a SCSI or FC driver for a peripheral channel in the host.

SCSI routing consists of these main actions:

  • Transporting SCSI requests and responses over an IP network between the hosts and the SN 5428 storage router.

  • Routing SCSI requests and responses between hosts on an IP network and FC storage.

  • Transporting SCSI requests and responses between the SN 5428 storage router and FC storage.

SCSI routing occurs in the SN 5428 storage router through the mapping of physical storage devices to iSCSI targets. An iSCSI target is an arbitrary name for a group of physical storage devices. You can map an iSCSI target to multiple physical devices. An iSCSI target always contains at least one Logical Unit Number (LUN). Each LUN on an iSCSI target is mapped to a single LUN on a physical storage target.

You can choose either of two types of storage mapping: target-and-LUN mapping or target-only mapping. Target-and-LUN mapping maps an iSCSI target and LUN combination to a physical storage target and LUN combination. Target-only mapping maps an iSCSI target to a physical storage target and its LUNs.

With target-only mapping, an iSCSI target name is specified and mapped to the physical storage address of a storage controller only: a WWPN. Any LUNs that are available in the storage controller are made available as iSCSI LUNs and are numbered the same as the LUNs in the storage controller. For example, if an iSCSI target specified as Webserver2000 were mapped to the physical storage address WWPN 3100112233445577, and LUNs 0 through 2 were available in that controller, those LUNs would become available as three iSCSI LUNs. An iSCSI driver would see the iSCSI target named Webserver2000 as a controller with three iSCSI LUNs identified as LUN 0, LUN 1, and LUN 2. Each iSCSI LUN would appear as a separate storage device to a host.

With target-and-LUN mapping, an iSCSI target name and iSCSI LUN number are specified and mapped to the physical storage address of one LUN; either a WWPN + LUN (World Wide Port Name + LUN) combination, a LUN ID (unique LUN identifier), or a LUN serial number.If the LUN is available, it is made available as an iSCSI LUN and numbered with the iSCSI LUN number specified. For example, if an iSCSI target and iSCSI LUN specified as Database, LUN 9 were mapped to the physical storage address, WWPN 3100112233445566, LUN 12, then LUN 12 would be available as one iSCSI LUN. An iSCSI driver would see the iSCSI target named Database, with one iSCSI LUN identified as LUN 9. The iSCSI LUN would appear as one storage device to a host.

Access for SCSI routing is controlled in the IP hosts and the storage router. In an IP host, the iSCSI driver is configured with the GE IP address of the SCSI routing instance in the storage router with which the host is to transport SCSI requests and responses. In a storage router, access is controlled through an access list and a VLAN Identifier (VID) number of the hosts. Additionally, access can be further controlled in the SN 5428 through authentication.

Configure

In this section, you are presented with the information to configure the SN 5428 and Cisco iSCSI Driver for HP-UX.

Note: To find additional information on the commands used in this document, use the Command Lookup Tool ( registered customers only) , and refer to the Cisco SN 5428 Storage Router documentation and theCommand Line Interface Reference.

Network Diagram

This document uses this network setup:

iscsi_hpux_46241-1.gif

Configurations

This document uses these configurations:

  • Maymun (HP 9000/800 A500 HP-UX 11.00)

  • Rita (SN 5428 3.3.2)

Maymun (HP 9000/800 A500 HP-UX 11.00)

On the HP-UX host, only the file /etc/iscsi.conf needs to be modified.

[/]# cat /etc/iscsi.conf

# iSCSI configuration file - see iscsi.conf(4)
# DiscoveryAddress Settings
# -------------------------
# Add "DiscoveryAddress=xxx" entries for each iSCSI router instance.
# The driver will attempt to discover iSCSI targets at that address
# and make as many targets as possible available for use.
# 'xxx' can be an IP address or a hostname. A TCP port number can be
# specified by appending a colon and the port number to the address.
# All entries have to start in column one and must not contain any
# whitespace.
## Example:
## DiscoveryAddress=scsirouter1
DiscoveryAddress=10.48.69.202


!--- Configure the IP address of the GE interface that accepts the iSCSI request from your host.


The DiscoveryAddress settings are as follows:

# 1) Authentication Settings
# 2) ConnectionTimeout Settings



!--- Other required driver parameters may be changed in the iscsi.conf file.


[/]# cat /etc/iscsi.bindings
# iSCSI bindings, file format version 1.0.
# NOTE: this file is automatically maintained by the iSCSI daemon.
# You should not need to edit this file under most circumstances.
# If iSCSI targets in this file have been permanently deleted, you
# may wish to delete the bindings for the deleted targets.
#
# Format:
# bus target iSCSI
# id id TargetName
#

[...]
0 7 iqn.1987-05.com.cisco:00.567777f7c856.apcon-1
0 8 iqn.1987-05.com.cisco:00.45c0d4eded4e.emc


!--- The iSCSI driver discovery daemon process looks up each discovered target
!--- in the /etc/iscsi.bindings file. If an entry exists in the file for the
!--- target, the corresponding SCSI target ID is assigned to the target. If
!--- no entry exists for the target, the smallest available SCSI target ID
!--- is assigned and an entry is written to the /etc/iscsi.bindings file for
!--- this target.

!--- Note that the /etc/iscsi.bindings file permanently contains entries
!--- for all iSCSI targets ever logged into from this host. If a target is
!--- no longer available to a host, you can manually edit the file and remove
!--- entries so that the obsolete target no longer consumes a SCSI target ID.
!--- If you know the iSCSI target name of a target in advance, and you want
!--- it to be assigned a particular SCSI target ID, you can add an entry
!--- manually. You should stop the iSCSI driver before you edit the
!--- /etc/iscsi.bindings file. The maximum number of targets is 14.

!--- Enter [/]#/sbin/init.d/iscsi start to manually start the iSCSI driver.
!--- Enter [/]#/sbin/init.d/iscsi stop to manually stop the iSCSI driver.

Rita (SN 5428 3.3.2)

[...]

! ACCESSLIST
!
accesslist maymun
accesslist maymun 10.48.69.239/255.255.255.255

[...]

! SCSIROUTER



!--- Rita-sr1 is the SCSI router instance that has been 
!--- created for the purpose of this test.


scsirouter rita-sr1
scsirouter rita-sr1 authentication "none"
scsirouter rita-sr1 username "none"
scsirouter rita-sr1 password "none"
scsirouter rita-sr1 primary "none"
scsirouter rita-sr1 reserveproxy disable
scsirouter rita-sr1 failover primary none
scsirouter rita-sr1 failover secondary none
scsirouter rita-sr1 lun reset no
scsirouter rita-sr1 serverIf ge1 10.48.69.202/255.255.255.192


!--- Target apcon-1 is a FC-attached disk.
!--- This is an example of target-only mapping.


scsirouter rita-sr1 target apcon-1 wwpn "21000004cfdb3ea7"
scsirouter rita-sr1 target apcon-1 enable
scsirouter rita-sr1 target apcon-1 accesslist "maymun" rw
scsirouter rita-sr1 target apcon-1 accesslist "none" ro
scsirouter rita-sr1 target apcon-1 maxcmdqueuedepth "0"

scsirouter rita-sr1 target emc lun 0 wwpn "500601608802a82b" lun "4"
scsirouter rita-sr1 target emc lun 1 wwpn "500601608802a82b" lun "5"
scsirouter rita-sr1 target emc lun 2 lunid "600601608802a82bad9158afd2fdc747"
scsirouter rita-sr1 target emc enable
scsirouter rita-sr1 target emc accesslist "maymun" rw
scsirouter rita-sr1 target emc accesslist "none" ro
scsirouter rita-sr1 target emc maxcmdqueuedepth "0"


!--- emc is a target on a Clariion 4500 that consists of three LUNS.
!--- This is an example of target-and-LUN mapping.
!--- Lun 0 and 1 were created using wwpn addressing.
!--- Lun 2 was created using lunid addressing.


!
! 
SYSTEM
!
hostname rita
!
! Mgmt Port
!
interface mgmt ip-address 10.48.69.148/255.255.255.192
!
! HA Port
!
!
! GE
!
interface ge1 autonegotiation autodetect
interface ge1 mtusize 1500
interface ge1 vlan enable
!
! GE
!
interface ge2 autonegotiation autodetect
interface ge2 mtusize 1500
interface ge2 vlan enable
!
! ROUTES
!
ip default-gateway 10.48.69.129
!
! RIP
!
no ip rip enableip rip timers invalid 180
!
! ADMIN LOGIN
!
admin password <password>
!
! MONITOR LOGIN
!
monitor password <password>
!
! SNTP
!
clock timezone GMT
!
! SNMP
!
snmp-server community public ro
snmp-server community private rw
no snmp-server host all traps
no snmp-server sendauthtraps
snmp-server linkupdown mgmt
snmp-server linkupdown ge1
snmp-server linkupdown ge2
snmp-server linkupdown fc1
snmp-server linkupdown fc2
snmp-server linkupdown fc3
snmp-server linkupdown fc4
snmp-server linkupdown fc5
snmp-server linkupdown fc6
snmp-server linkupdown fc7
snmp-server linkupdown fc8
!
! TELNET
!
no session-timeout
!
! SSH
!
ssh enable
!
! HA
!
! ha configuration standalone
!
! LOGGING ROUTE FACILITY
!
logging level notice from all to all
logging level info from all to logfile
!
! RESTRICT
!
restrict mgmt ftp
no restrict mgmt telnet
no restrict mgmt http
no restrict mgmt snmp
restrict mgmt ssl
no restrict mgmt ssh
!
restrict ha ftp
restrict ha telnet
no restrict ha http
restrict ha snmp
restrict ha ssl
restrict ha ssh
!
restrict ge1 ftp
restrict ge1 telnet
restrict ge1 http
restrict ge1 snmp
restrict ge1 ssl
restrict ge1 ssh
!
restrict ge2 ftp
restrict ge2 telnet
restrict ge2 http
restrict ge2 snmp
restrict ge2 ssl
restrict ge2 ssh
!
!
! CDP
!
cdp enable
cdp timer 60
cdp interface mgmt enable
cdp interface ge1 enable
cdp interface ge2 enable
!
! FC SWITCH
!
fcswitch ratov 10000
fcswitch edtov 2000
fcswitch dstov 5000
fcswitch fstov 1000
fcswitch zoning default All
fcswitch zoning autosave enable
fcswitch zoning merge SW2
fcswitch domainid 1 force
no fcswitch domainid lock enable
fcswitch interop-credit 12
!
! FC ZONE ALIAS
!
fcalias iscsi
fcalias iscsi member wwpn 280000059ba695e0 


!--- Initiator WWPN1.

fcalias iscsi member wwpn 290000059ba695e0 

!--- Initiator WWPN2.

! 

!--- The LUN-mapping and LUN-masking on the storage device have
!--- to be done with WWPN1 and WWWPN2.

! FC ZONE
!
zone jbod
zone jbod member wwpn 21000004cfdb3ea7
zone jbod member fcalias iscsi
zone spa
zone spa member wwpn 500601608802a82b
zone spa member fcalias iscsi
zone spb
zone spb member wwpn 500601688802a82b
zone spb member fcalias iscsi
!
! FC ZONE SET
!
zoneset iscsidoc
zoneset iscsidoc zone jbod
no zoneset iscsidoc enable
zoneset iscsidoc zone spa
no zoneset iscsidoc enable
zoneset iscsidoc zone spb
no zoneset iscsidoc enable
!
! FC PORTS
!
interface fc1 enable
interface fc1 ms-enable enable
no interface fc1 al-fairness enable
interface fc1 fan-enable enable
interface fc1 ext-credit 0
interface fc1 mfs-bundle enable timeout 10
interface fc1 linkspeed auto
interface fc1 type gl-port
!
interface fc2 enable
interface fc2 ms-enable enable
no interface fc2 al-fairness enable
interface fc2 fan-enable enable
interface fc2 ext-credit 0
interface fc2 mfs-bundle enable timeout 10
interface fc2 linkspeed auto
interface fc2 type gl-port
!
interface fc3 enable
interface fc3 ms-enable enable
no interface fc3 al-fairness enable
interface fc3 fan-enable enable
interface fc3 ext-credit 0
interface fc3 mfs-bundle enable timeout 10
interface fc3 linkspeed auto
interface fc3 type gl-port
!
interface fc4 enable
interface fc4 ms-enable enable
no interface fc4 al-fairness enable
interface fc4 fan-enable enable
interface fc4 ext-credit 0
interface fc4 mfs-bundle enable timeout 10
interface fc4 linkspeed auto
interface fc4 type gl-port
!
interface fc5 enable
interface fc5 ms-enable enable
no interface fc5 al-fairness enable
interface fc5 fan-enable enable
interface fc5 ext-credit 0
interface fc5 mfs-bundle enable timeout 10
interface fc5 linkspeed auto
interface fc5 type gl-port
!
interface fc6 enable
interface fc6 ms-enable enable
no interface fc6 al-fairness enable
interface fc6 fan-enable enable
interface fc6 ext-credit 0
interface fc6 mfs-bundle enable timeout 10
interface fc6 linkspeed auto
interface fc6 type gl-port
!
interface fc7 enable
interface fc7 ms-enable enable
no interface fc7 al-fairness enable
interface fc7 fan-enable enable
interface fc7 ext-credit 0
interface fc7 mfs-bundle enable timeout 10
interface fc7 linkspeed auto
interface fc7 type gl-port
!
interface fc8 enable
interface fc8 ms-enable enable
no interface fc8 al-fairness enable
interface fc8 fan-enable enable
interface fc8 ext-credit 0
interface fc8 mfs-bundle enable timeout 10
interface fc8 linkspeed auto
interface fc8 type gl-port
!
! AAA
!
aaa new-model

Verify

This section provides information you can use to confirm your configuration is working properly and troubleshoot in case you notice problems.

Certain show commands are supported by the Output Interpreter Tool ( registered customers only) , which allows you to view an analysis of show command output.

HP-UX Host Commands

  • netstat-n or lsof—verifies the TCP connections.

  • iscsi-ls—shows the devices currently available.

  • dmesg—collects diagnostic messages.

SN 5428 Commands

  • show system—displays the system information, serial number, MAC addresses, interfaces, and software version.

  • show fcswitch—displays configuration information for SN 5428 storage router FC interfaces.

  • show devices—displays all SCSI devices.

  • show scsirouter—displays various configuration information for the specified SCSI routing instance.

  • show zoneset—displays information about the active zoneset.

  • show int ge1—displays GE interface.

  • show ip route—displays IP route information.

Displays

  • Displays from Maymun

  • Displays from Rita

Displays from Maymun

[/]# netstat -n | grep 3260
 tcp        0      0  10.48.69.239.49406     10.48.69.202.3260       ESTABLISHED
 tcp        0      0  10.48.69.239.49405     10.48.69.202.3260       ESTABLISHED
 tcp        0      0  10.48.69.239.49404     10.48.69.202.3260       ESTABLISHED
 [/]# netstat -rn
 Routing tables
 Dest/Netmask          Gateway            Flags  Refs       Use  Interface  Pmtu
 127.0.0.1             127.0.0.1          UH       0      13721  lo0        4136
 10.48.69.239          10.48.69.239       UH       0       1732  lan0       4136
 10.48.69.128          10.48.69.239       U        2          0  lan0       1500
 127.0.0.0             127.0.0.1          U        0          0  lo0        4136
 default               10.48.69.129       UG       0          0  lan0       1500


 
!--- If you have lsof, you can also try this:


 [/]# lsof -i @10.48.69.242
 iscsid    2789 root    1u  inet 0x416f8268    0t14284   TCP maymun.cisco.com:49404->10.48.69.202:3260 (ESTABLISHED)
 iscsi_rx_ 2794 root    5u  inet 0x41986068        0t0   TCP maymun.cisco.com:49405->10.48.69.202:3260 (ESTABLISHED)
 iscsi_rx_ 2797 root    5u  inet 0x41bf0e68        0t0   TCP maymun.cisco.com:49406->10.48.69.202:3260 (ESTABLISHED)
 

!--- Note that ioscan does not report iSCSI devices. To see the list of available iSCSI 
!--- devices from the host, issue the iscsi-ls command.



 [/]# iscsi-ls -l
  #############################################################
  TARGET NAME      = iqn.1987-05.com.cisco:00.567777f7c856.apcon-1
  TARGET ID        = 7
  ADDRESS          = 10.48.69.202:3260,1
  STATUS           = CONNECTED 10.48.69.239:49405 <-> 10.48.69.202:3260
                     10/2/2003 12:42:37
  SESSION          = ISID 00023d000001 TSID 03
  LUN     0        = DISK  c255t7d0  'SEAGATE  ST336753FC      0003' 
                     BLOCKS : 71687371  BLOCKSIZE : 512 CAPACITY : 35003.00MB
  #############################################################
  TARGET NAME      = iqn.1987-05.com.cisco:00.45c0d4eded4e.emc
  TARGET ID        = 8
  ADDRESS          = 10.48.69.202:3260,1
  STATUS           = CONNECTED 10.48.69.239:49406 <-> 10.48.69.202:3260
                     10/2/2003 12:42:37
  SESSION          = ISID 00023d000001 TSID 04
  LUN     2        = DISK  c255t8d2  'DGC      RAID 0          0632' 
                     BLOCKS : 2097023  BLOCKSIZE : 512 CAPACITY : 1023.00MB
  LUN     1        = DISK  c255t8d1  'DGC      RAID 0          0632' 
                     BLOCKS : 2097023  BLOCKSIZE : 512 CAPACITY : 1023.00MB
  LUN     0        = DISK  c255t8d0  'DGC      RAID 0          0632' 
                     BLOCKS : 2097023  BLOCKSIZE : 512 CAPACITY : 1023.00MB
 [/]# iscsi-ls -c
  #############################################################
  TARGET NAME      = iqn.1987-05.com.cisco:00.567777f7c856.apcon-1
  TARGET ID        = 7
  ADDRESS          = 10.48.69.202:3260,1
  STATUS           = CONNECTED 10.48.69.239:49405 <-> 10.48.69.202:3260
                     10/2/2003 12:42:37
  SESSION          = ISID 00023d000001 TSID 03
  InitialR2T       = No
  FirstBurstLength = 65536 Bytes
  MaxBurstLength   = 4194304 Bytes
  Header Digest    = 0
  Data Digest      = 0
  Login Timeout    = 15 Seconds
  Auth Timeout     = 45 Seconds
  Active Timeout   = 5 Seconds
  Idle Timeout     = 60 Seconds
  Ping Timeout     = 5 Seconds
  #############################################################
  TARGET NAME      = iqn.1987-05.com.cisco:00.45c0d4eded4e.emc
  TARGET ID        = 8
  ADDRESS          = 10.48.69.202:3260,1
  STATUS           = CONNECTED 10.48.69.239:49406 <-> 10.48.69.202:3260
                     10/2/2003 12:42:37
  SESSION          = ISID 00023d000001 TSID 04
  InitialR2T       = No
  FirstBurstLength = 65536 Bytes
  MaxBurstLength   = 4194304 Bytes
  Header Digest    = 0
  Data Digest      = 0
  Login Timeout    = 15 Seconds
  Auth Timeout     = 45 Seconds
  Active Timeout   = 5 Seconds
  Idle Timeout     = 60 Seconds
  Ping Timeout     = 5 Seconds


!--- These are some of the entries you can expect to find in the syslog:


 [/]# dmesg

 [...]

 iSCSI: session 0x41487000 target 7 accepted the preferred value (None) DataDigest=None
 iSCSI: session 0x4142b000 target 8 accepted the preferred value (None) DataDigest=None
 iSCSI: Direct Access Device found at lun 0 on target 8
         Vendor Id  : DGC      
         Product Id : RAID 0                     Product Rev: 0632 
 iSCSI: Direct Access Device found at lun 1 on target 8
         Vendor Id  : DGC      
         Product Id : RAID 0                     Product Rev: 0632 
 iSCSI: Direct Access Device found at lun 2 on target 8
         Vendor Id  : DGC      
         Product Id : RAID 0                     Product Rev: 0632 
 iSCSI: iscsi_recv_cmd: session (0x4142b000) recv_cmd(sc) (0x41c92c00), 
        Cmd 0x25, status 0x2, senselen 26, sense key 06, ASC/ASCQ 29/00, task (0x40725700) 
        to (host 255 target 8 lun 0), TargetAlias emc
        Sense 70000600 00000012 00000000 29000000 0000fe02 18000000 0100

 READ_CAPACITY result = 0x2 Target = 0x8 LUN = 0x0
 iSCSI: iscsi_recv_cmd: task (0x40725700) itt 9 to (host 255 target 8 lun 0), 
        Cmd 0x25,  U(Overflow/Underflow) underflow, received 0(task->rxdata), 
        residual 8, expected 8
 iSCSI: iscsi_recv_cmd: session (0x4142b000) recv_cmd(sc) (0x41c92c00), 
        Cmd 0x25, status 0x2, senselen 26, sense key 06, ASC/ASCQ 29/00, 
        task (0x40725880) to (host 255 target 8 lun 1), TargetAlias emc
        Sense 70000600 00000012 00000000 29000000 0000fe02 18000000 0101

 READ_CAPACITY result = 0x2 Target = 0x8 LUN = 0x1
 iSCSI: iscsi_recv_cmd: task (0x40725880) itt 11 to (host 255 target 8 lun 1), 
        Cmd 0x25,  U(Overflow/Underflow) underflow, received 0(task->rxdata), 
        residual 8, expected 8
 iSCSI: Direct Access Device found at lun 0 on target 7
         Vendor Id  : SEAGATE  
         Product Id : ST336753FC                 Product Rev: 0003 
 iSCSI: iscsi_recv_cmd: session (0x4142b000) recv_cmd(sc) (0x41c92c00), 
        Cmd 0x25, status 0x2, senselen 26, sense key 06, ASC/ASCQ 29/00, 
        task (0x40725980) to (host 255 target 8 lun 2), TargetAlias emc
        Sense 70000600 00000012 00000000 29000000 0000fe02 18000000 0102

 READ_CAPACITY result = 0x2 Target = 0x8 LUN = 0x2
 iSCSI: iscsi_recv_cmd: task (0x40725980) itt 13 to (host 255 target 8 lun 2), 
        Cmd 0x25,  U(Overflow/Underflow) underflow, received 0(task->rxdata), 
        residual 8, expected 8
 iSCSI: iscsi_recv_cmd: session (0x41487000) recv_cmd(sc) (0x4173c800), 
        Cmd 0x25, status 0x2, senselen 26, sense key 06, ASC/ASCQ 29/00, 
        task (0x40725a00) to (host 255 target 7 lun 0), TargetAlias apcon-1
        Sense 70000600 00000012 00000000 29000000 0000fe02 18000000 0000

 READ_CAPACITY result = 0x2 Target = 0x7 LUN = 0x0
 iSCSI: iscsi_recv_cmd: task (0x40725a00) itt 9 to (host 255 target 7 lun 0), 
 Cmd 0x25,  U(Overflow/Underflow) underflow, received 0(task->rxdata), residual 8, expected 8

Displays from Rita

[rita]# show system
               System Name: rita
       System Deployed For: SCSI routing
         Software Capacity: 59392.0 KB
       Free Software Space: 30705.0 KB
    Configuration Capacity: 14464.0 KB
  Free Configuration Space: 13795.0 KB
              Log Capacity: 29056.0 KB
            Free Log Space: 28403.0 KB
          Software Version: 3.3.2-K9
                Last Reset: Mon Sep 29 16:30:52 GMT 2003
              Current Time: Thu Oct  2 13:36:27 GMT 2003
                 Time Zone: GMT
                NTP Server: none
               Name Server: none
    Telnet session timeout: none
                       Model Number  Rev  Serial Number  Part Number
 System                SN 5428-K9    00   Unit SN        800part_number
 Processor             Rainmaker     02   SAD061200UJ    73-7996-03
 Device      IP/Netmask                      MAC
 lo0         127.0.0.1/8                    
 mgmt        10.48.69.148/26                 00:05:9b:a6:95:e0
 ge1         10.48.69.202/26                 02:02:3d:30:45:ca
 ge2        
 [rita]# show fcswitch 
 Global attributes                     Value
 ------------------------------------  -----
 Domain ID                             1
 Domain ID lock                        disabled
 Active Zoneset                        iscsidoc
 Zoning Merge                          SW2
 Zoning Default                        All
 Zoning Autosave                       enabled
 Distributed Services timeout (dstov)  5000
 Fabric Services timeout (fstov)       1000
 Error Detect timeout (edtov)          2000
 Resource Allocation timeout (ratov)   10000
 Buffer to Buffer Credit (interop)     12
 Initiator WWPN1                       280000059ba695e0
 Initiator WWPN2                       290000059ba695e0
 
 [rita]# show fcswitch nameserver brief 
 Port Id Port Type Port Number     Port WWN          Port IP Address  
 ------- -------   --------------- ----------------- -----------------
 010000  N         0               280000059ba695e0  00000000                       
 01051e  NL        5               21000004cfdb3ea7  00000000                       
 010700  N         7               500601608802a82b  00000000                       
 010800  N         8               500601688802a82b  00000000                       
 010f00  N         15              290000059ba695e0  00000000                       
 5 entries found
 
 [rita]# show fcswitch nameserver all 
 Port Id          010000
 Port Type        N
 Port Number      0
 Port WWN         280000059ba695e0
 Port IP Address  00000000
 Sym Port Name    
 Sym Node Name    
 Node WWN         100000059ba695e0
 Node IP Address  00000000
 Fabric Port Name 200000059ba695e1
 Class of Service 3
 FC-4 Types       FCP
 FC-4 Description (NULL)
 Port Id          01051e
 Port Type        NL
 Port Number      5
 Port WWN         21000004cfdb3ea7
 Port IP Address  00000000
 Sym Port Name    
 Sym Node Name    
 Node WWN         20000004cfdb3ea7
 Node IP Address  00000000
 Fabric Port Name 200500059ba695e1
 Class of Service 3
 FC-4 Types       FCP
 FC-4 Description SEAGATE  ST336753FC       (Rev. 0003)
 Port Id          010700
 Port Type        N
 Port Number      7
 Port WWN         500601608802a82b
 Port IP Address  00000000
 Sym Port Name    
 Sym Node Name    
 Node WWN         500601601102a82b
 Node IP Address  00000000
 Fabric Port Name 200700059ba695e1
 Class of Service 3
 FC-4 Types       FCP
 FC-4 Description DGC      RAID 0           (Rev. 0632)
 Port Id          010800
 Port Type        N
 Port Number      8
 Port WWN         500601688802a82b
 Port IP Address  00000000
 Sym Port Name    
 Sym Node Name    
 Node WWN         500601601102a82b
 Node IP Address  00000000
 Fabric Port Name 200800059ba695e1
 Class of Service 3
 FC-4 Types       FCP
 FC-4 Description DGC      RAID 0           (Rev. 0632)
 Port Id          010f00
 Port Type        N
 Port Number      15
 Port WWN         290000059ba695e0
 Port IP Address  00000000
 Sym Port Name    
 Sym Node Name    
 Node WWN         100000059ba695e0
 Node IP Address  00000000
 Fabric Port Name 200f00059ba695e1
 Class of Service 3
 FC-4 Types       FCP
 FC-4 Description (NULL)
 5 entries found

 [rita]# show fcswitch linkstate database
 Local Node WWN       100000059ba695e1
 Local Port           0
 Local Port WWN       200000059ba695e1
 Remote Node WWN      100000059ba695e0
 Remote Port          ffffffff
 Remote Port WWN      280000059ba695e0
 Remote Agent Address 00000000
 Remote Agent Type    0
 Remote Agent Port    0
 Remote Unit Type     Unknown
 Remote Connection Id 010000
 Local Node WWN       100000059ba695e1
 Local Port           15
 Local Port WWN       200f00059ba695e1
 Remote Node WWN      100000059ba695e0
 Remote Port          ffffffff
 Remote Port WWN      290000059ba695e0
 Remote Agent Address 00000000
 Remote Agent Type    0
 Remote Agent Port    0
 Remote Unit Type     Unknown
 Remote Connection Id 010f00
 Local Node WWN       100000059ba695e1
 Local Port           5
 Local Port WWN       200500059ba695e1
 Remote Node WWN      20000004cfdb3ea7
 Remote Port          ffffffff
 Remote Port WWN      21000004cfdb3ea7
 Remote Agent Address 00000000
 Remote Agent Type    0
 Remote Agent Port    0
 Remote Unit Type     Unknown
 Remote Connection Id 00001e
 Local Node WWN       100000059ba695e1
 Local Port           7
 Local Port WWN       200700059ba695e1
 Remote Node WWN      500601601102a82b
 Remote Port          ffffffff
 Remote Port WWN      500601608802a82b
 Remote Agent Address 00000000
 Remote Agent Type    0
 Remote Agent Port    0
 Remote Unit Type     Unknown
 Remote Connection Id 010700
 Local Node WWN       100000059ba695e1
 Local Port           8
 Local Port WWN       200800059ba695e1
 Remote Node WWN      500601601102a82b
 Remote Port          ffffffff
 Remote Port WWN      500601688802a82b
 Remote Agent Address 00000000
 Remote Agent Type    0
 Remote Agent Port    0
 Remote Unit Type     Unknown
 Remote Connection Id 010800
 5 entries found


 [rita]# show devices rediscover 
 Fibre channel discovery kicked off! 
 

!--- Observe the list of devices as seen from the switch. The disks that Maymun is allowed access to
!--- are in bold. Notice the LUN ID for LUN 6. This is the LUN assigned to Maymun
!--- as LUN 2 using LUN ID addressing. You might also notice that fc8 is a redundant link to the 
!--- storage array. Since this is a active/passive array, no traffic is currently going through fc8 and 
!--- the size of the LUNs in the LUN description table are given as 0.


 [rita]# show devices
 Fabric Attached Devices detected
 Interface WWPN             PortId   Device Type     Lun   Lunid Type        Lunid
 --------- ---------------- -------- --------------- ----- ----------------- -----
 fc7       500601608802a82b 0x10700  Disk            0     IEEE Reg Extended 600601608802a82bda05b6a9b69d7b00
 fc7       500601608802a82b 0x10700  Disk            1     IEEE Reg Extended 600601608802a82b6a660d74cb33886c
 fc7       500601608802a82b 0x10700  Disk            2     IEEE Reg Extended 600601608802a82bec815ba2c4430d8a
 fc7       500601608802a82b 0x10700  Disk            3     IEEE Reg Extended 600601608802a82be047b3be3b00e0d5
 fc7       500601608802a82b 0x10700  Disk            4     IEEE Reg Extended 600601608802a82b00515b7f3d9a7bce
 fc7       500601608802a82b 0x10700  Disk            5     IEEE Reg Extended 600601608802a82babb1ae8059c0fcf0
 fc7       500601608802a82b 0x10700  Disk            6     IEEE Reg Extended 600601608802a82bad9158afd2fdc747
 fc7       500601608802a82b 0x10700  Disk            7     IEEE Reg Extended 600601608802a82bb1efe76c445c1697
 fc7       500601608802a82b 0x10700  Disk            8     IEEE Reg Extended 600601608802a82b844f0960301efc50
 fc7       500601608802a82b 0x10700  Disk            9     IEEE Reg Extended 600601608802a82baa6de20ece7acc21
 fc7       500601608802a82b 0x10700  Disk            10    IEEE Reg Extended 600601608802a82b5b6667896cf2d156
 fc7       500601608802a82b 0x10700  Disk            11    IEEE Reg Extended 600601608802a82ba932bd044abb3d9b
 fc7       500601608802a82b 0x10700  Disk            12    IEEE Reg Extended 600601608802a82bcdd996f7573f070c
 fc7       500601608802a82b 0x10700  Disk            13    IEEE Reg Extended 600601608802a82b0ce5ba3968cad6f0
 fc7       500601608802a82b 0x10700  Disk            14    IEEE Reg Extended 600601608802a82b606eee7698fcab97
 fc7       500601608802a82b 0x10700  Disk            15    IEEE Reg Extended 600601608802a82b8b58807b12fb6b12
 fc7       500601608802a82b 0x10700  Disk            16    IEEE Reg Extended 600601608802a82ba12f6db0c3d6c246
 fc7       500601608802a82b 0x10700  Disk            17    IEEE Reg Extended 600601608802a82b2c48c474254b26dd
 fc7       500601608802a82b 0x10700  Disk            32    IEEE Reg Extended 600601608802a82bba186a4022409475
 fc7       500601608802a82b 0x10700  Disk            33    IEEE Reg Extended 600601608802a82b74d2429e318dff86
 fc8       500601688802a82b 0x10800  Disk            0     IEEE Reg Extended 600601608802a82bda05b6a9b69d7b00
 fc8       500601688802a82b 0x10800  Disk            1     IEEE Reg Extended 600601608802a82b6a660d74cb33886c
 fc8       500601688802a82b 0x10800  Disk            2     IEEE Reg Extended 600601608802a82bec815ba2c4430d8a
 fc8       500601688802a82b 0x10800  Disk            3     IEEE Reg Extended 600601608802a82be047b3be3b00e0d5
 fc8       500601688802a82b 0x10800  Disk            4     IEEE Reg Extended 600601608802a82b00515b7f3d9a7bce
 fc8       500601688802a82b 0x10800  Disk            5     IEEE Reg Extended 600601608802a82babb1ae8059c0fcf0
 fc8       500601688802a82b 0x10800  Disk            6     IEEE Reg Extended 600601608802a82bad9158afd2fdc747
 fc8       500601688802a82b 0x10800  Disk            7     IEEE Reg Extended 600601608802a82bb1efe76c445c1697
 fc8       500601688802a82b 0x10800  Disk            8     IEEE Reg Extended 600601608802a82b844f0960301efc50
 fc8       500601688802a82b 0x10800  Disk            9     IEEE Reg Extended 600601608802a82baa6de20ece7acc21
 fc8       500601688802a82b 0x10800  Disk            10    IEEE Reg Extended 600601608802a82b5b6667896cf2d156
 fc8       500601688802a82b 0x10800  Disk            11    IEEE Reg Extended 600601608802a82ba932bd044abb3d9b
 fc8       500601688802a82b 0x10800  Disk            12    IEEE Reg Extended 600601608802a82bcdd996f7573f070c
 fc8       500601688802a82b 0x10800  Disk            13    IEEE Reg Extended 600601608802a82b0ce5ba3968cad6f0
 fc8       500601688802a82b 0x10800  Disk            14    IEEE Reg Extended 600601608802a82b606eee7698fcab97
 fc8       500601688802a82b 0x10800  Disk            15    IEEE Reg Extended 600601608802a82b8b58807b12fb6b12
 fc8       500601688802a82b 0x10800  Disk            16    IEEE Reg Extended 600601608802a82ba12f6db0c3d6c246
 fc8       500601688802a82b 0x10800  Disk            17    IEEE Reg Extended 600601608802a82b2c48c474254b26dd
 fc8       500601688802a82b 0x10800  Disk            32    IEEE Reg Extended 600601608802a82bba186a4022409475
 fc8       500601688802a82b 0x10800  Disk            33    IEEE Reg Extended 600601608802a82b74d2429e318dff86
 fc5       21000004cfdb3ea7 0x1051e  Disk            0     IEEE Extended     20000004cfdb3ea7

 Lun Description Table
 Interface WWPN             Lun   Capacity Vendor       Product      Serial
 --------- ---------------- ----- -------- ------------ ------------ ------
 fc7       500601608802a82b 0     1023MB   DGC          RAID         f60004202091
 fc7       500601608802a82b 1     1023MB   DGC          RAID         f60004202091
 fc7       500601608802a82b 2     1023MB   DGC          RAID         f60004202091
 fc7       500601608802a82b 3     1GB      DGC          RAID         f60004202091
 fc7       500601608802a82b 4     1023MB   DGC          RAID         f60004202091
 fc7       500601608802a82b 5     1023MB   DGC          RAID         f60004202091
 fc7       500601608802a82b 6     1023MB   DGC          RAID         f60004202091
 fc7       500601608802a82b 7     1023MB   DGC          RAID         f60004202091
 fc7       500601608802a82b 8     1023MB   DGC          RAID         f60004202091
 fc7       500601608802a82b 9     1023MB   DGC          RAID         f60004202091
 fc7       500601608802a82b 10    1023MB   DGC          RAID         f60004202091
 fc7       500601608802a82b 11    1023MB   DGC          RAID         f60004202091
 fc7       500601608802a82b 12    1023MB   DGC          RAID         f60004202091
 fc7       500601608802a82b 13    1023MB   DGC          RAID         f60004202091
 fc7       500601608802a82b 14    1023MB   DGC          RAID         f60004202091
 fc7       500601608802a82b 15    1023MB   DGC          RAID         f60004202091
 fc7       500601608802a82b 16    1023MB   DGC          RAID         f60004202091
 fc7       500601608802a82b 17    1023MB   DGC          RAID         f60004202091
 fc7       500601608802a82b 32    4GB      DGC          RAID         f60004202091
 fc7       500601608802a82b 33    2GB      DGC          RAID         f60004202091
 fc8       500601688802a82b 0     0KB      DGC          RAID         f60004202091
 fc8       500601688802a82b 1     0KB      DGC          RAID         f60004202091
 fc8       500601688802a82b 2     0KB      DGC          RAID         f60004202091
 fc8       500601688802a82b 3     0KB      DGC          RAID         f60004202091
 fc8       500601688802a82b 4     0KB      DGC          RAID         f60004202091
 fc8       500601688802a82b 5     0KB      DGC          RAID         f60004202091
 fc8       500601688802a82b 6     0KB      DGC          RAID         f60004202091
 fc8       500601688802a82b 7     0KB      DGC          RAID         f60004202091
 fc8       500601688802a82b 8     0KB      DGC          RAID         f60004202091
 fc8       500601688802a82b 9     0KB      DGC          RAID         f60004202091
 fc8       500601688802a82b 10    0KB      DGC          RAID         f60004202091
 fc8       500601688802a82b 11    0KB      DGC          RAID         f60004202091
 fc8       500601688802a82b 12    0KB      DGC          RAID         f60004202091
 fc8       500601688802a82b 13    0KB      DGC          RAID         f60004202091
 fc8       500601688802a82b 14    0KB      DGC          RAID         f60004202091
 fc8       500601688802a82b 15    0KB      DGC          RAID         f60004202091
 fc8       500601688802a82b 16    0KB      DGC          RAID         f60004202091
 fc8       500601688802a82b 17    0KB      DGC          RAID         f60004202091
 fc8       500601688802a82b 32    0KB      DGC          RAID         f60004202091
 fc8       500601688802a82b 33    0KB      DGC          RAID         f60004202091
 fc5       21000004cfdb3ea7 0     34GB     SEAGATE      ST336753FC   3HX00Q2600007326JFF3
 
 [rita]# show scsirouter rita-sr1 
 SCSI Router Information
 Status Codes: A=active, I=inactive, C=create failed, D=not enabled, S=slave
                           CDB   Reserve  Pass Lun  
 Router               Stat Retry Proxy    Thru Reset Description
 -------------------- ---- ----- -------- ---- ----- -----------
 rita-sr1             A    6     disabled no   no    (not set)
 SCSI Router Authentication Information
 Router               Authentication  Username        Password
 -------------------- --------------- --------------- --------
 rita-sr1             none            none            none    
 Router     ServerIf   Vlan Vid IP/Netmask                       Secondary  TCP Port SLP
 ---------- ---------- -------- -------------------------------- ---------- -------- ---
 rita-sr1   ge1                 10.48.69.202/26                  none       3260     ON
 Target Attribute Information
                                      Accesslist Accesslist                               
 Router     Target           Status   Read-Write Read-Only  Profile CRC        Description
 ---------- ---------------- -------- ---------- ---------- ------- ---------- -----------
 rita-sr1   apcon-1          enabled  maymun     none       High    prefer-off (not set)
 rita-sr1   emc              enabled  maymun     none       High    prefer-off (not set)
 Target Mapping Information
 Router     Target           Mapping    iSCSI Name 
 ---------- ---------------- ---------- -----------
 rita-sr1   apcon-1          Tgt        iqn.1987-05.com.cisco:00.567777f7c856.apcon-1
 rita-sr1   emc              Lun-wwpn   iqn.1987-05.com.cisco:00.45c0d4eded4e.emc
 Targets - Target Mapped
 Router     Target           WWPN Primary     WWPN Secondary  
 ---------- ---------------- ---------------- ----------------
 rita-sr1   apcon-1          21000004cfdb3ea7                 
 Targets - Lun Mapped via Lunid
 Router     Target           Lun   Lunid           
 ---------- ---------------- ----- ----------------
 rita-sr1   emc              2     600601608802a82bad9158afd2fdc747
 Targets - Lun Mapped via WWPN
 Router     Target           Lun   WWPN Primary     Lun   WWPN Secondary   Lun  
 ---------- ---------------- ----- ---------------- ----- ---------------- -----
 rita-sr1   emc              0     500601608802a82b 4                           
 rita-sr1   emc              1     500601608802a82b 5
 
 [rita]# show scsirouter rita-sr1 host

  router       host        name     logins  active    last login     last disconnect
 rita-sr1  10.48.69.239  maymun        61       3   Oct 02 10:36:41  Oct 02 10:36:20
 rita-sr1  10.48.69.233  SHARK-NAS      1       1   Oct 01 10:09:04                 

 2 hosts listed
 
 [rita]# show scsirouter "rita-sr1" stats
                            Logins   Logins Target Access  Authentication
 Router     Started         Accepted Active Failures       Failures      
 ---------- --------------- -------- ------ -------------- --------------
 rita-sr1   Oct 01 10:08:58 62       4      0              0             
 1 scsirouter listed

 [rita]# show scsirouter "rita-sr1" host stats

 rita-sr1 host 10.48.69.239 alias "maymun"
 Login info:
   loginsActive = 3
   lastLoginTime: Thu Oct  2 10:36:41 GMT 2003
   loginsTerminated = 58
   lastLoginTerminatedTime: Thu Oct  2 10:36:20 GMT 2003
   loginsFailed = 0
   lastLoginFailedTime: 
   loginsDiscovery = 25
   loginsNormal = 36
  stats:

            RECEIVE               SEND
        OK         ERROR
   0000553915                0000283569  total msgs
   0000003652                0000003652  no-op msgs
   0000002009                0000002009  ping msgs/rsps
   0000275163  0000000000    0000275162  SCSI cmd msgs/rsps
   0000272979  0000000000    0000002313  SCSI data msgs
   0000000000  0000000000    0000000000  task mgt msgs/rsps
   0000000086  0000000000    0000000086  login msgs/rsps
   0000000026  0000000000    0000000026  text msgs/rsps
   0000000000                0000000000  invalid msgs/rsps
                             0000000312  RTT msgs
                             0000000009  async msgs

   bytes rcvd 00000000aec4a400
   discarded          00000000
   bytes sent 0000000001987ce1


 rita-sr1 host 10.48.69.233 alias "SHARK-NAS"
 Login info:
   loginsActive = 1
   lastLoginTime: Wed Oct  1 10:09:04 GMT 2003
   loginsTerminated = 0
   lastLoginTerminatedTime: 
   loginsFailed = 0
   lastLoginFailedTime: 
   loginsDiscovery = 1
   loginsNormal = 0
  stats:

            RECEIVE               SEND
        OK         ERROR
   0000002512                0000002512  total msgs
   0000001673                0000001673  no-op msgs
   0000000836                0000000836  ping msgs/rsps
   0000000000  0000000000    0000000000  SCSI cmd msgs/rsps
   0000000000  0000000000    0000000000  SCSI data msgs
   0000000000  0000000000    0000000000  task mgt msgs/rsps
   0000000002  0000000000    0000000002  login msgs/rsps
   0000000001  0000000000    0000000001  text msgs/rsps
   0000000000                0000000000  invalid msgs/rsps
                             0000000000  RTT msgs
                             0000000000  async msgs

   bytes rcvd 0000000000000000
   discarded          00000000
   bytes sent 0000000000000000

 total for all hosts:

            RECEIVE               SEND
        OK         ERROR
   0000556427                0000286081  total msgs
   0000005325                0000005325  no-op msgs
   0000002845                0000002845  ping msgs/rsps
   0000275163  0000000000    0000275162  SCSI cmd msgs/rsps
   0000272979  0000000000    0000002313  SCSI data msgs
   0000000000  0000000000    0000000000  task mgt msgs/rsps
   0000000088  0000000000    0000000088  login msgs/rsps
   0000000027  0000000000    0000000027  text msgs/rsps
   0000000000                0000000000  invalid msgs/rsps
                             0000000312  RTT msgs
                             0000000009  async msgs

   bytes rcvd 00000000aec4a400
   discarded          00000000
   bytes sent 0000000001987ce1

 2 hosts listed

 [rita]# show zoneset brief 
 Zoneset Name         Active Member Count
 -------------------- ------ ------------
 iscsidoc             true   6
 [rita]# show zoneset iscsidoc 
 Zone Name            Member Count
 -------------------- ------------
 spa                  2
 spb                  2
 jbod                 2
 Zone: spa
   wwpn: 500601608802a82b
   fcalias: iscsi
     wwpn: 280000059ba695e0
     wwpn: 290000059ba695e0
 Zone: spb
   wwpn: 500601688802a82b
   fcalias: iscsi
     wwpn: 280000059ba695e0
     wwpn: 290000059ba695e0
 Zone: jbod
   wwpn: 21000004cfdb3ea7
   fcalias: iscsi
     wwpn: 280000059ba695e0
     wwpn: 290000059ba695e0
	 
 [rita]# show interface ge1
 Operational Data
 Interface Stat IP/Netmask               MAC          Options
 --------- ---- ------------------------ ------------ -------
 ge1       up   10.48.69.202/ffffffc0    02023d3045ca type Gigabit Ethernet
                                                      mtusize 1500
                                                      speed 1000000000
                                                      flags UP BRDCST RUNNING MLTCST
                                                      signal signal detect
                                                      duplex full
                                                      auto-negotiate complete
                                                      flow control full
                                                      SFPVendor CISCO-AGILENT   
                                                      SFPVendorID A00258957       
                                                      SFPPartNumber QFBR-5790L      
                                                      SFPRev     -5790L      


 Configuration Data
 Interface MTU Size   AutoNegotiation  Vlan     IP/Netmask               Secondary
 --------- ---------- ---------------- -------- ------------------------ ---------
 ge1       1500       autodetect       enabled                           None

 [rita]# show ip route
 Codes: C - connected, S - static, R - RIP

 S    0.0.0.0/0 [1/0] via 10.48.69.129, mgmt
 C    10.48.69.128/26 is directly connected, mgmt
 C    10.48.69.192/26 is directly connected, ge1
 C    127.0.0.1/8 is directly connected, lo0

Troubleshoot

There is currently no specific troubleshooting information available for this configuration.

NetPro Discussion Forums - Featured Conversations

Networking Professionals Connection is a forum for networking professionals to share questions, suggestions, and information about networking solutions, products, and technologies. The featured links are some of the most recent conversations available in this technology.
NetPro Discussion Forums - Featured Conversations for SAN
Emerging Technologies: Storage Networking

Related Information



Updated: Nov 29, 2005Document ID: 46241