Q-Logic 6140 Router User Manual


 
A – Command Reference
Commands
A-18 FI0154601-00 C
S
Lunmask Command
Maps a target LUN to an initiator, and also removes mappings. It prompts you to
pick from a list of targets, LUNs, and initiators.
Authority Admin session
Syntax lunmask
add
remove
Keywords add
Maps a LUN to an initiator. First, you are prompted to select an initiator from a list
of initiators. Then you are promoted select a target from a list of targets. Lastly,
you are prompted to select the LUN to be mapped from a list of LUNs for the
selected target.
remove
Removes the mapping of a LUN from an initiator. First, you are prompted to select
a target from a list of targets. Then you are promoted to select the LUN from a list
of LUNs for the selected target. Lastly, you are prompted to select the initiator to
be unmapped from a list of initiators.
Examples The following example shows the lunmask add command:
QRouter (admin) #> lunmask add
Index (WWNN/iSCSI Name)
----- -----------------
0 iqn.1991-05.com.microsoft:qlogic-09sd5i4l
Please select an Initiator from the list above ('q' to quit): 0
Index (WWNN,WWPN/iSCSI Name)
----- ----------------------
0 20:00:00:20:37:fd:8b:ab,22:00:00:20:37:fd:8b:ab
1 20:00:00:20:37:fd:8a:b0,22:00:00:20:37:fd:8a:b0
2 20:00:00:20:37:fd:9c:f7,22:00:00:20:37:fd:9c:f7
3 20:00:00:20:37:fd:8d:00,22:00:00:20:37:fd:8d:00
Please select a Target from the list above ('q' to quit): 0
LUN WWULN Vendor
---- ---------- --------