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

Command View XP Command Line Interface (CLI) reference guide 193
Output
The output shows the line number where the error occurred and does not execute any of the commands.
NOTE: For the XP48 and XP512, CLI error output does not specify the line numbers containing the errors.
Commands not supported in the same batch file
The following combinations of commands are not supported in the same batch file due to Mib restrictions.
An error will occur if you try to run the following commands in the same file.
Example 1
Creating a LUN group and adding LUNs to it:
create lun_group CL1-A,lungrp1,00
add lun_to_lun_group CL1-A,lungrp1,04
Example 2
Adding LUNs to a LUN group (for the same port and LUN group) as individual commands:
add lun_to_lun_group CL1-A,lungrp1,02
add lun_to_lun_group CL1-A,lungrp1,10
add lun_to_lun_group CL1-A,lungrp1,2A
This can be achieved by using the following range command in a batch file:
add lun_to_lun_group CL1-A,lungrp1,02,10,2A
Example 3
Adding security to a LUN group (for the same port and LUN group) as individual commands:
add security_to_lun_group CL1-A,CMD,ci32td0
add security_to_lun_group CL1-A,CMD,ci32td1
This can be achieved using the following range command in a batch file:
add security_to_lun_group CL1-A,CMD,ci32td0,ci32td1
Example 4
Adding and deleting security to or from a LUN (for the same port and LUN) as individual commands:
add security_to_lun CL1-B,03,man1
add security_to_lun CL1-B,03,win3k
This can be achieved by using the following range command in a batch file:
add security_to_lun CL1-B,03,man1,win3k
Deleting security to or from a LUN (for the same port and LUN) as individual
commands:
delete security_from_lun CL1-B,03,man1
delete security_from_lun CL1-B,03,win3k
The above can be achieved using the following range command in a batch file:
delete security_from_lun CL1-B,03,man1,win3k
Example 5
Adding a WWN and associating that WWN to a LUN or LUN_group (add security_to_lun or add
security_to_lun_group):
add wwn CL1-B,6271abcdef273489,win3k
add security_to_lun_group CL1-B,security,win3k
add security_to_lun CL1-B,02,win3k