HP StorageWorks Command View XP Command Line Interface (CLI) reference guide (B9357-96161, January 2006)

Command View XP Command Line Interface (CLI) reference guide 121
add security_to_lun
Description This command assigns security to a LUN and associates that LUN with one or more WWNs or
WWN groups. Only the host WWN or WWN group associated with this LUN can access this LUN.
Syntax add security_to_lun <portname>, <lun_id>, <wwn>, <wwn_group>
[,<wwn2>, <wwn_group2>...]
Arguments <portname>
The port from which the LUN has been created. Port names are not case sensitive.
<lun_id>
The LUN ID of the LUN to be associated. LUNs must be given in hexadecimal.
<wwn>
The WWN of the LUN to be associated.
<wwn_group>
The WWN group of the LUN to be associated.
Example
add security_to_lun CL1-A, 00, wwn1, wwnGrp1