Lunmask, Authority, Syntax – HP MPX200 Multifunction Router User Manual

Page 90: Keywords, Examples

Advertising
background image

60:05:08:b4:00:07:59:a4:00:02:e0:00:07:15:00:00
5 5/VPGROUP_2 PB5A8C3AATK8BW
60:05:08:b4:00:07:59:a4:00:02:e0:00:07:18:00:00
Please select a LUN presented to the initiator ('q' to quit): 0
Index MappedId Type Initiator
----- -------- ---- ---------
0 0 FC 50:06:0b:00:00:c1:73:75
1 0 FC 50:01:10:a0:00:17:60:69
2 0 FC 20:00:00:05:1e:b4:45:fb
Please select an Initiator to remove ('a' to remove all, 'q' to quit): 2
All attribute values that have been changed will now be saved.

lunmask

Maps or removes, according to keyword, a target LUN mapping to an initiator. The CLI prompts
you to select from a list of virtual port groups, targets, LUNs, and initiators, and to present the
target if it is not already presented.

Authority

admin

Syntax

lunmask

Keywords

Maps a LUN to an initiator.

add

Removes the mapping of a LUN from an initiator.

remove

Examples

The following example shows the lunmask add command:

nl

MPX200 <1> (admin) #> lunmask add
Index Type Mapped (WWNN,WWPN/iSCSI Name)
----- ---- ------ ----------------------
0 FC Yes 20:00:00:1b:32:0a:61:80,21:00:00:1b:32:0a:61:80
Please select an Initiator from the list above ('q' to quit): 0
Index (WWNN,WWPN/iSCSI Name)
----- ----------------------
0 50:0a:09:80:85:95:82:2c,50:0a:09:81:85:95:82:2c
1 20:00:00:14:c3:3d:cf:88,21:00:00:14:c3:3d:cf:88
2 0:00:00:14:c3:3d:d3:25,21:00:00:14:c3:3d:d3:25
3 50:06:01:60:cb:a0:35:f6,50:06:01:68:4b:a0:35:f6
4 50:06:01:60:cb:a0:35:f6,50:06:01:60:4b:a0:35:f6

nl

Please select a Target from the list above ('q' to quit): 0

nl

Index (LUN/VpGroup)
------ -------------
0 0/VPGROUP_1
1 1/VPGROUP_1
2 2/VPGROUP_1

nl

Please select a LUN to present to the initiator ('q' to quit): 1

nl

nl

Index (IP/WWNN) (MAC/WWPN)
----- ----------- ------------
0 0.0.0.0 00-c0-dd-13-2c-c4
1 0.0.0.0 00-c0-dd-13-2c-c5
2 20:00:00:c0:dd:13:2c:c4 21:00:00:c0:dd:13:2c:c4
3 20:00:00:c0:dd:13:2c:c5 21:00:00:c0:dd:13:2c:c5

nl

Please select a portal to map the target from the list above ('q' to quit): 2
Target Device is already mapped on selected portal.
All attribute values that have been changed will now be saved.

The following example shows the lunmask rm command:

nl

MPX200 <1> (admin) #> lunmask rm
Index (WWNN,WWPN/iSCSI Name)
----- ----------------------
0 50:0a:09:80:85:95:82:2c,50:0a:09:81:85:95:82:2c

90

Command line interface

Advertising