Specifications

12-318
Cisco SN 5428-2 Storage Router Software Configuration Guide
78-15471-01
Chapter 12 Command Line Interface Reference
scsirouter target {lunid | serial | wwpn} #?
Command History
Usage Guidelines This command can be used for target-only or target-and-LUN mapping.
When you map a target using WWPN and the target needs to be accessed in a high availability cluster,
you must specify both the primary WWPN (the WWPN of the storage resource as known to the first
storage router in the cluster) and the secondary WWPN (the WWPN of the storage resource as known to
the second storage router in the cluster).
To display the indexed list of storage resources, use the number sign (#) character followed by a question
mark (?). That action will cause a list of devices discovered on the FC network to display as a numbered
(indexed) table. The original command is re-displayed at the prompt below the list to the point of the #
keyword. Complete the command by entering the appropriate index number.
When a target is added, it is by default enabled. However, it is not associated with any access list
(accesslist none), effectively disabling access to the target from any IP hosts. Use the
scsirouter target accesslist command to enable access to this storage target for selected IP hosts. See
Chapter 6, Configuring SCSI Routing, for more information about configuring SCSI routing on the
SN 5428-2 Storage Router.
Note When making changes to SCSI routing instances (such as adding or deleting targets or changing access)
be sure to make the complimentary changes to the iSCSI configuration of IP hosts using these services
to access the storage resources. See the readme files for the appropriate iSCSI drivers for additional
details. You can access the latest iSCSI drivers and readme and example configuration files from
Cisco.com.
Use the force keyword to allow target-and-LUN mapping of the same storage array control LUN in
multiple targets. Do not use the force keyword to LUN-map the same data LUN in multiple targets.
LUN-mapping of the same LUN in multiple targets is advised for a control LUN on a storage controller
only.
Examples The following example displays an indexed list of storage resources available to SCSI routing instance
lab2 and maps the logical target webserver8 to the WWPN storage address represented by index
number 2.
[SN5428-2A]# scsirouter lab2 target webserver8 wwpn #?
Device
Id I/F WWPN Lun Type Vendor Product
--- ----- --- ---------------- ----- ------ -------- ----------------
1 fc1 2200001026448a0d 0 Disk SEAGATE ST217340FC
2 fc1 22000003be3203bc 0 Disk SEAGATE ST217341FC
*[SN5428-2A]# scsirouter lab2 target webserver8 wwpn #2
Release Modification
3.2.1 This command was introduced.