Guest

Cisco SN 5400 Series Storage Routers

Windows XP iSCSI Host to SN 5428 Configuration Example

Document ID: 45700



Contents

Introduction
Prerequisites
      Requirements
      Components Used
      Conventions
      Background Theory
Configure
      Network Diagram
      Configurations
Verify
Troubleshoot
Related Information

Introduction

Cisco's iSCSI drivers, which reside on the server, are a key component of the 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 Solaris iSCSI host to SN 5428.

Prerequisites

Requirements

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

  • Install iSCSI driver that is compatible to your host running Microsoft Windows XP. The most current version of the Cisco iSCSI Driver for Windows 2000//XP/2003 can be found at the Cisco iSCSI Drivers (registered customers only) page on Cisco.com. The name of the file is Cisco iSCSI Driver Version version number for Win2k.

Components Used

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

  • PC with Microsoft Windows XP and Cisco iSCSI Driver version 3.1.2. To view screen captures, see the Troubleshoot section of this document.

  • Cisco SN 5428 with Software Version 3.3.2

    [Rita]# show version  
    Cisco SN 5428-K9 Storage Router 
             CLI Version: 2.1 
           iSCSI Version: 0/2 (Min/Max) 
        System Bootstrap: 3.3.2-K9  
        Operating System: 3.3.2-K9  
          Switch Version: V1.4.0.43-0 
             Application: 3.3.2-K9 
              Web Server: R6_1_0 
                 OpenSSH: 3.4p1 
                 OpenSSL: 0.9.6e 
                    Zlib: 1.1.4 
    
    Copyright (c) 1986-2002 by Cisco Systems, Inc

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 Theory

SCSI routing provides IP hosts with access to Fibre Channel (FC) storage devices as if the storage devices were directly attached to the hosts. Access to devices is 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. With 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. 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-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, 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.

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.

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 Gigabit Ethernet (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 features described in this document.

Note: To find additional information on the commands used in this document, use the Cisco SN 5428 Storage Router documentation and Command Line Interface Reference.

Network Diagram

This document uses this network setup:

winxp_sn5428-a.gif

Configurations

This document uses this configuration:

  • Rita (SN 5428 with software version 3.3.2)

Rita (SN 5428 with software version 3.3.2)

[Rita]# sh run 
! 
... 
! VLAN 
! 
! (no vlan(s) found) 
! 
! SCSIROUTER 
! 



!--- SCSI routing instance winxp has been created for WinXP host.


scsirouter winxp 
scsirouter winxp authentication "none" 
scsirouter winxp username "none" 
scsirouter winxp password "none" 
scsirouter winxp primary "none" 
scsirouter winxp reserveproxy disable 
scsirouter winxp failover primary none 
scsirouter winxp failover secondary none 
scsirouter winxp lun reset no 



!--- Interface ge1 in SN 5428 is assigned to this SCSI routing instance. 
!--- The WinXP host Langur uses this as the target host IP address 
!--- in its iSCSI driver. 


scsirouter winxp serverIf ge1 10.48.69.206/255.255.255.192 



!--- Target ibm-shark is an example of target-and-LUN mapping 
!--- with LUN ID addressing.

  
scsirouter winxp target ibm-shark lun 0 lunid "db44f747a2cd81a35745889f81c47103" 
scsirouter winxp target ibm-shark lun 1 lunid "55bcd149af855c7091df146880dd4043" 
scsirouter winxp target ibm-shark description "ibm-shark" 
scsirouter winxp target ibm-shark enable 
scsirouter winxp target ibm-shark accesslist "any" rw 
scsirouter winxp target ibm-shark accesslist "none" ro 
scsirouter winxp target ibm-shark maxcmdqueuedepth "0" 



!--- Target seagate is an example of target-only mapping 
!--- with WWPN addressing.


scsirouter winxp target seagate wwpn "210000203715dc02" 
scsirouter winxp target seagate enable 
scsirouter winxp target seagate accesslist "any" rw 
scsirouter winxp target seagate accesslist "none" ro 
scsirouter winxp target seagate maxcmdqueuedepth "0" 



!--- Target shark-lun4-lun5 is an example of target-and-LUN mapping 
!--- with WWPN addressing.


scsirouter winxp target shark-lun4-lun5 lun 4 wwpn "5005076300c4944c" lun "4" 
scsirouter winxp target shark-lun4-lun5 lun 5 wwpn "5005076300c4944c" lun "5" 
scsirouter winxp target shark-lun4-lun5 description "ibm-shark" 
scsirouter winxp target shark-lun4-lun5 enable 
scsirouter winxp target shark-lun4-lun5 accesslist "any" rw 
scsirouter winxp target shark-lun4-lun5 accesslist "none" ro 
scsirouter winxp target shark-lun4-lun5 maxcmdqueuedepth "0" 
! 
! SYSTEM 
! 
hostname Rita 
! 
... 
! 
! GE 
! 
interface ge1 no autonegotiation 
interface ge1 mtusize 1500 
interface ge1 vlan enable 
interface ge1 ip-address 10.48.69.206/255.255.255.192 
! 
... 
! FC PORTS 
! 
... 
! 
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 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 
! 
... 
! 
! AAA 
! 
aaa new-model 
[Rita]# 

Verify

This section provides information you can use to confirm your configuration is working properly.

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

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

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

  • show fcswitch nameserver brief—displays brief global configuration information for storage router FC interfaces.

  • show fcswitch nameserver all—displays global configuration information for storage router FC interfaces.

  • show devices—displays all SCSI devices.

  • show scsirouter winxp—displays all configuration information for the Windows XP SCSI routing instance.

  • show scsirouter winxp connection—displays iSCSI initiator information for the Windows XP iSCSI session.

  • show scsirouter winxp connection tcp—displays TCP information for the Windows XP iSCSI session.

  • show scsirouter winxp connection stats—displays connection statistics for Windows XP.

  • show scsirouter winxp host—displays host information.

  • show scsirouter winxp host stats—displays host statistics information.

  • show scsirouter winxp target all—displays all SCSI router Windows XP targets.

  • show scsirouter winxp target all stats—displays statistics for all targets.

  • show scsirouter winxp target table—displays SCSI router targets in table format.

  • show interface ge1—displays the GE interface.

  • show ip route—displays the routing table.

Troubleshoot

This section provides information you can use to troubleshoot your configuration.

Here is troubleshooting information relevant to this configuration:

  • Displays from PC

  • Displays from Rita (SN 5428)

Displays from PC

winxp_sn5428-b.gif

winxp_sn5428-c.gif

To verify these new disks, click Start in the left lower corner of the PC. Make these selections:

Control Panel -> Administrative Tools -> Computer Management

winxp_sn5428-d.gif

Under System Tools, select Device Manager. On the right side, click Disk Drives. You should see:

winxp_sn5428-e.gif

To manage these disks, click Start in the left lower corner of the PC. Make these selections:

Control Panel -> Administrative Tools -> Computer Management

Under Storage, click on Disk Management. The display capture from PC Langur is shown here:

winxp_sn5428-f.gif

Displays from Rita (SN 5428)

[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: 13816.0 KB
             Log Capacity: 29056.0 KB
           Free Log Space: 28732.0 KB
         Software Version: 3.3.2-K9
               Last Reset: Mon Sep 15 15:11:32 GMT 2003
             Current Time: Fri Sep 19 15:25:41 GMT 2003
                Time Zone: GMT
               NTP Server: none
             Name Servers: 144.254.10.123(Pri) (Sec)
                   Domain: cisco.com
   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.10.10.1/26                   00:05:9b:a6:95:e0
ha          10.1.1.148/24                   00:05:9b:a6:95:e1
ge1         10.48.69.206/26                 02:02:3d:30:45:ce
ge2        

[Rita]#
[Rita]# show fcswitch
Global attributes                     Value
------------------------------------  -----
Domain ID                             104
Domain ID lock                        disabled
Active Zoneset                        None
Zoning Merge                          SW2
Zoning Default                        All
Zoning Autosave                       disabled
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]# 
[Rita]# 
[Rita]# 
[Rita]# show fcswitch nameserver brief
Port Id Port Type Port Number     Port WWN          Port IP Address  
------- -------   --------------- ----------------- -----------------
680000  N         0               280000059ba695e0  00000000                       
680300  N         3               5005076300c4944c  00000000                       
680723  NL        7               210000203715dc02  00000000                       
680f00  N         15              290000059ba695e0  00000000                       

4 entries found

[Rita]#
[Rita]# show fcswitch nameserver brief
Port Id Port Type Port Number     Port WWN          Port IP Address  
------- -------   --------------- ----------------- -----------------
680000  N         0               280000059ba695e0  00000000                       
680300  N         3               5005076300c4944c  00000000                       
680723  NL        7               210000203715dc02  00000000                       
680f00  N         15              290000059ba695e0  00000000                       

4 entries found

[Rita]# 
[Rita]# show fcswitch nameserver all
Port Id          680000
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          680300
Port Type        N
Port Number      3
Port WWN         5005076300c4944c
Port IP Address  00000000
Sym Port Name    
Sym Node Name    
Node WWN         5005076300c0944c
Node IP Address  00000000
Fabric Port Name 200300059ba695e1
Class of Service 2,3
FC-4 Types       FCP,FC-SB2 Channel to Control,
FC-4 Description IBM      2105F20          (Rev. .114)

Port Id          680723
Port Type        NL
Port Number      7
Port WWN         210000203715dc02
Port IP Address  00000000
Sym Port Name    
Sym Node Name    
Node WWN         200000203715dc02
Node IP Address  00000000
Fabric Port Name 200700059ba695e1
Class of Service 3
FC-4 Types       FCP
FC-4 Description SEAGATE  ST336753FC       (Rev. 0005)

Port Id          680f00
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)

4 entries found

[Rita]#  
[Rita]# show devices
Fabric Attached Devices detected
Interface WWPN             PortId   Device Type     Lun   Lunid Type        Lunid
--------- ---------------- -------- --------------- ----- ----------------- -----
fc7       210000203715dc02 0x680723 Disk            0     IEEE Extended     200000203715dc02
fc3       5005076300c4944c 0x680300 Disk            0     MD5               db44f747a2cd81a35745889f81c47103
fc3       5005076300c4944c 0x680300 Disk            1     MD5               55bcd149af855c7091df146880dd4043
fc3       5005076300c4944c 0x680300 Disk            3     MD5               81574f330626c402176b23645f99bfe9
fc3       5005076300c4944c 0x680300 Disk            4     MD5               c51f6656b8a5c4788792df27b0e5372a
fc3       5005076300c4944c 0x680300 Disk            5     MD5               a9cdfdb04d88ad48ef0a8bc043a5d8ad
fc3       5005076300c4944c 0x680300 Disk            6     MD5               198f1b0a2bbad5642dca2be1729d8496
fc3       5005076300c4944c 0x680300 Disk            7     MD5               7f73aa862b5660bd84077c938e514240
fc3       5005076300c4944c 0x680300 Disk            8     MD5               6f0f630181fe99e4d29cf9e23af275f5
fc3       5005076300c4944c 0x680300 Disk            9     MD5               d05849e3d6d9bfa7eba414198e064456
fc3       5005076300c4944c 0x680300 Disk            10    MD5               62d9cf9ed7176332f76cf7126501739b

Lun Description Table
Interface WWPN             Lun   Capacity Vendor       Product      Serial
--------- ---------------- ----- -------- ------------ ------------ ------
fc7       210000203715dc02 0     34GB     SEAGATE      ST336753FC   3HX0H0MV000083394XG6
fc3       5005076300c4944c 0     2GB      IBM          2105F20      11A22196
fc3       5005076300c4944c 1     1GB      IBM          2105F20      10222196
fc3       5005076300c4944c 3     953MB    IBM          2105F20      00122196
fc3       5005076300c4944c 4     953MB    IBM          2105F20      00722196
fc3       5005076300c4944c 5     2GB      IBM          2105F20      11B22196
fc3       5005076300c4944c 6     3GB      IBM          2105F20      10022196
fc3       5005076300c4944c 7     2GB      IBM          2105F20      11F22196
fc3       5005076300c4944c 8     953MB    IBM          2105F20      00322196
fc3       5005076300c4944c 9     2GB      IBM          2105F20      12022196
fc3       5005076300c4944c 10    2GB      IBM          2105F20      40022196

[Rita]#
[Rita]# show scsirouter winxp 
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
-------------------- ---- ----- -------- ---- ----- -----------
winxp                A    6     disabled no   no    (not set)

SCSI Router Authentication Information
Router               Authentication  Username        Password
-------------------- --------------- --------------- --------
winxp                none            none            none    

Router     ServerIf   Vlan Vid IP/Netmask                       Secondary  TCP Port SLP
---------- ---------- -------- -------------------------------- ---------- -------- ---
winxp      ge1                 10.48.69.206/26                  none       3260     ON

Target Attribute Information
                                     Accesslist Accesslist                               
Router     Target           Status   Read-Write Read-Only  Profile CRC        Description
---------- ---------------- -------- ---------- ---------- ------- ---------- -----------
winxp      ibm-shark        enabled  any        none       High    prefer-off ibm-shark
winxp      seagate          enabled  any        none       High    prefer-off (not set)
winxp      shark-lun4-lun5  enabled  any        none       High    prefer-off ibm-shark

Target Mapping Information
Router     Target           Mapping    iSCSI Name 
---------- ---------------- ---------- -----------
winxp      ibm-shark        Lun-lunid  iqn.1987-05.com.cisco:00.4063b24c36a3.ibm-shark
winxp      seagate          Tgt        iqn.1987-05.com.cisco:00.347e4d2606e2.seagate
winxp      shark-lun4-lun5  Lun-wwpn   iqn.1987-05.com.cisco:00.eedf8ef4f478.shark-lun4-lun5

Targets - Target Mapped
Router     Target           WWPN Primary     WWPN Secondary  
---------- ---------------- ---------------- ----------------
winxp      seagate          210000203715dc02                 

Targets - Lun Mapped via Lunid
Router     Target           Lun   Lunid           
---------- ---------------- ----- ----------------
winxp      ibm-shark        0     db44f747a2cd81a35745889f81c47103
winxp      ibm-shark        1     55bcd149af855c7091df146880dd4043

Targets - Lun Mapped via WWPN
Router     Target           Lun   WWPN Primary     Lun   WWPN Secondary   Lun  
---------- ---------------- ----- ---------------- ----- ---------------- -----
winxp      shark-lun4-lun5  4     5005076300c4944c 4                           
winxp      shark-lun4-lun5  5     5005076300c4944c 5                           

[Rita]#
[Rita]# show scsirouter winxp connection 

CRC values (Header / Data)
  N = No CRC negotiated
  H = Hardware CRC
  S = Software CRC

router  sid cid      host:port          login        ver  crc  rtt  target  access
winxp   1   32   10.48.69.149:1026  Sep 19 15:20:26   0   N/N   on       
winxp   2   33   10.48.69.149:1035  Sep 19 15:20:32   0   N/N  off  ibm-shark     RW
winxp   4   34   10.48.69.149:1036  Sep 19 15:20:32   0   N/N  off  seagate     RW
winxp   3   35   10.48.69.149:1037  Sep 19 15:20:32   0   N/N  off  shark-lun4-lun5     RW

4 connections listed
[Rita]# 
[Rita]# show scsirouter winxp connection tcp

                                             TCP window sizes
                                        current           maximum
router  sid cid      host:port        rcv      snd      rcv      snd
winxp   1   32   10.48.69.149:1026    65535     2920    65535    64240
winxp   2   33   10.48.69.149:1035    65535     2920    65535    64240
winxp   4   34   10.48.69.149:1036    65535     2920    65535    64240
winxp   3   35   10.48.69.149:1037    65535     2920    65535    64240

4 connections listed

[Rita]#
[Rita]# show scsirouter winxp connection stats 

winxp connection 10.48.69.149:1026 stats:

           RECEIVE               SEND
       OK         ERROR
  0000000013                0000000013  total msgs
  0000000007                0000000007  no-op msgs
  0000000003                0000000003  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


winxp connection 10.48.69.149:1035 stats:

           RECEIVE               SEND
       OK         ERROR
  0000000028                0000000042  total msgs
  0000000007                0000000007  no-op msgs
  0000000003                0000000003  ping msgs/rsps
  0000000016  0000000000    0000000016  SCSI cmd msgs/rsps
  0000000000  0000000000    0000000014  SCSI data msgs
  0000000000  0000000000    0000000000  task mgt msgs/rsps
  0000000002  0000000000    0000000002  login msgs/rsps
  0000000000  0000000000    0000000000  text msgs/rsps
  0000000000                0000000000  invalid msgs/rsps
                            0000000000  RTT msgs
                            0000000000  async msgs

  bytes rcvd 0000000000000000
  discarded          00000000
  bytes sent 0000000000000170


winxp connection 10.48.69.149:1036 stats:

           RECEIVE               SEND
       OK         ERROR
  0000000024                0000000035  total msgs
  0000000007                0000000007  no-op msgs
  0000000003                0000000003  ping msgs/rsps
  0000000012  0000000000    0000000012  SCSI cmd msgs/rsps
  0000000000  0000000000    0000000011  SCSI data msgs
  0000000000  0000000000    0000000000  task mgt msgs/rsps
  0000000002  0000000000    0000000002  login msgs/rsps
  0000000000  0000000000    0000000000  text msgs/rsps
  0000000000                0000000000  invalid msgs/rsps
                            0000000000  RTT msgs
                            0000000000  async msgs

  bytes rcvd 0000000000000000
  discarded          00000000
  bytes sent 0000000000000150


winxp connection 10.48.69.149:1037 stats:

           RECEIVE               SEND
       OK         ERROR
  0000000059                0000000102  total msgs
  0000000007                0000000007  no-op msgs
  0000000003                0000000003  ping msgs/rsps
  0000000047  0000000000    0000000047  SCSI cmd msgs/rsps
  0000000000  0000000000    0000000043  SCSI data msgs
  0000000000  0000000000    0000000000  task mgt msgs/rsps
  0000000002  0000000000    0000000002  login msgs/rsps
  0000000000  0000000000    0000000000  text msgs/rsps
  0000000000                0000000000  invalid msgs/rsps
                            0000000000  RTT msgs
                            0000000000  async msgs

  bytes rcvd 0000000000000000
  discarded          00000000
  bytes sent 000000000000176c

total for all connections:

           RECEIVE               SEND
       OK         ERROR
  0000000124                0000000192  total msgs
  0000000028                0000000028  no-op msgs
  0000000012                0000000012  ping msgs/rsps
  0000000075  0000000000    0000000075  SCSI cmd msgs/rsps
  0000000000  0000000000    0000000068  SCSI data msgs
  0000000000  0000000000    0000000000  task mgt msgs/rsps
  0000000008  0000000000    0000000008  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 0000000000001a2c

4 connections listed
[Rita]# 
[Rita]# show scsirouter winxp host

router      host       name   logins  active    last login     last disconnect
winxp   10.48.69.149  LANGUR      7       4   Sep 19 15:20:31  Sep 19 15:20:15

1 host listed
[Rita]#
[Rita]# show scsirouter winxp host stats 

winxp host 10.48.69.149 alias "LANGUR"
Login info:
  loginsActive = 4
  lastLoginTime: Fri Sep 19 15:20:31 GMT 2003
  loginsTerminated = 3
  lastLoginTerminatedTime: Fri Sep 19 15:20:15 GMT 2003
  loginsFailed = 0
  lastLoginFailedTime: 
  loginsDiscovery = 2
  loginsNormal = 5
 stats:

           RECEIVE               SEND
       OK         ERROR
  0000000935                0000001591  total msgs
  0000000032                0000000032  no-op msgs
  0000000015                0000000015  ping msgs/rsps
  0000000803  0000000000    0000000803  SCSI cmd msgs/rsps
  0000000068  0000000000    0000000723  SCSI data msgs
  0000000000  0000000000    0000000000  task mgt msgs/rsps
  0000000014  0000000000    0000000014  login msgs/rsps
  0000000003  0000000000    0000000003  text msgs/rsps
  0000000000                0000000000  invalid msgs/rsps
                            0000000000  RTT msgs
                            0000000001  async msgs

  bytes rcvd 0000000000044000
  discarded          00000000
  bytes sent 00000000001e44d2


1 host listed
[Rita]#
[Rita]# show scsirouter winxp target all
Target Attribute Information
                                     Accesslist Accesslist                               
Router     Target           Status   Read-Write Read-Only  Profile CRC        Description
---------- ---------------- -------- ---------- ---------- ------- ---------- -----------
winxp      ibm-shark        enabled  any        none       High    prefer-off ibm-shark
winxp      seagate          enabled  any        none       High    prefer-off (not set)
winxp      shark-lun4-lun5  enabled  any        none       High    prefer-off ibm-shark

Target Mapping Information
Router     Target           Mapping    iSCSI Name 
---------- ---------------- ---------- -----      
winxp      ibm-shark        Lun-lunid  iqn.1987-05.com.cisco:00.4063b24c36a3.ibm-shark
winxp      seagate          Tgt        iqn.1987-05.com.cisco:00.347e4d2606e2.seagate
winxp      shark-lun4-lun5  Lun-wwpn   iqn.1987-05.com.cisco:00.eedf8ef4f478.shark-lun4-lun5

Targets - Target Mapped
Router     Target           WWPN Primary     WWPN Secondary  
---------- ---------------- ---------------- ----------------
winxp      seagate          210000203715dc02                 

Targets - Lun Mapped via Lunid
Router     Target           Lun   Lunid           
---------- ---------------- ----- ----------------
winxp      ibm-shark        0     db44f747a2cd81a35745889f81c47103
winxp      ibm-shark        1     55bcd149af855c7091df146880dd4043

Targets - Lun Mapped via WWPN
Router     Target           Lun   WWPN Primary     Lun   WWPN Secondary   Lun  
---------- ---------------- ----- ---------------- ----- ---------------- -----
winxp      shark-lun4-lun5  4     5005076300c4944c 4                           
winxp      shark-lun4-lun5  5     5005076300c4944c 5                           

[Rita]# 
[Rita]# show scsirouter winxp target all stats 
winxp target ibm-shark:

        RECEIVED           TRANSMITTED
    count      error      count      error

0000000375            0000000331             Messages
0000000331 0000000000 0000000331 0000000006  SCSI cmd/resp
0000000000 0000000000 0000000000             task mgt
0000000002 0000000000 0000000000             login cmd
0000000001                                   logout
                      0000000000             async event
0000000043            0000000282             data msg

000000000002b000 bytes received
        00000000 discarded
000000000009cab8 bytes transmitted

 target seagate:

        RECEIVED           TRANSMITTED
    count      error      count      error

0000000451            0000000425             Messages
0000000425 0000000000 0000000425 0000000002  SCSI cmd/resp
0000000000 0000000000 0000000000             task mgt
0000000002 0000000000 0000000000             login cmd
0000000001                                   logout
                      0000000000             async event
0000000025            0000000398             data msg

0000000000019000 bytes received
        00000000 discarded
00000000001462ae bytes transmitted

 target shark-lun4-lun5:

        RECEIVED           TRANSMITTED
    count      error      count      error

0000000047            0000000047             Messages
0000000047 0000000000 0000000047 0000000004  SCSI cmd/resp
0000000000 0000000000 0000000000             task mgt
0000000001 0000000000 0000000000             login cmd
0000000000                                   logout
                      0000000000             async event
0000000000            0000000043             data msg

0000000000000000 bytes received
        00000000 discarded
000000000000176c bytes transmitted


totals for all targets:

        RECEIVED           TRANSMITTED
    count      error      count      error

0000000873            0000000803             Messages
0000000803 0000000000 0000000803 0000000012  SCSI cmd/resp
0000000000 0000000000 0000000000             task mgt
0000000005 0000000000 0000000000             login cmd
0000000002                                   logout
                      0000000000             async event
0000000068            0000000723             data msg

0000000000044000 bytes received
        00000000 discarded
00000000001e44d2 bytes transmitted

[Rita]# 
[Rita]# sh scsirouter winxp target table 
Target Alias                    Status   QD ACL Type      ACL                    
------------------------------- -------- -- ------------- -----------------------
ibm-shark                       enabled   0 IP Address    any
seagate                         enabled   0 IP Address    any
shark-lun4-lun5                 enabled   0 IP Address    any
Scsirouter winxp has 3 targets


[Rita]#
[Rita]# show interface ge1
Operational Data
Interface Stat IP/Netmask               MAC          Options
--------- ---- ------------------------ ------------ -------
ge1       up   10.48.69.206/ffffffc0    02023d3045ce type Gigabit Ethernet
                                                     mtusize 1500
                                                     speed 1000000000
                                                     flags UP BRDCST RUNNING MLTCST
                                                     signal signal detect
                                                     duplex full
                                                     auto-negotiate complete
                                                     flow control rx pause
                                                     SFPVendor CISCO-AGILENT   
                                                     SFPVendorID A00258957       
                                                     SFPPartNumber QFBR-5790L      
                                                     SFPRev     -5790L      


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

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

C    10.1.1.0/24 is directly connected, ha
C    10.10.10.0/26 is directly connected, mgmt
S    10.48.69.149/32 [1/0] via 10.48.69.200, ge1
C    10.48.69.192/26 is directly connected, ge1
C    127.0.0.1/8 is directly connected, lo0
[Rita]#






Related Information



Updated: Nov 29, 2005 Document ID: 45700