A – Command Reference Commands

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)

---------------------------

020:00:00:20:37:fd:8b:ab,22:00:00:20:37:fd:8b:ab

120:00:00:20:37:fd:8a:b0,22:00:00:20:37:fd:8a:b0

220:00:00:20:37:fd:9c:f7,22:00:00:20:37:fd:9c:f7

320: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

----

----------

--------

A-18

FI0154601-00 C

Page 150
Image 150
Q-Logic 6140 manual Lunmask Command