HP XP7 Command View Advanced Edition CLI Reference Guide (TK981-96006, May 2014)
NOTE:
For HP XP7, the label is applied to the storage system. For P9500, you can select whether to apply
the label to the storage system. For other storage systems, the label is not applied to the storage
system.
Parameters
Table 27 AddLabel command parameters
DescriptionStatusParameter name
Serial number of the storage systemRequired
serialnum
Model of the storage systemRequired
model
Device number of the logical unit to which a label is to be
added
For HP XP7, P9500, and XP24000/XP20000:
Specify this parameter as a decimal number or colon-
delimited hexadecimal number in the format ww:xx:yy,
where ww is the LDKC number, xx is the CU number,
and yy is the LDEV number. ww is optional. If ww is
omitted, LDKC is assumed to be 0.
For XP12000/XP10000/SVS200 and XP1024/XP128:
Specify this parameter as a decimal number or colon-
delimited hexadecimal number in the format xx:yy,
where xx is the CU number, and yy is the LDEV number.
Use a comma to delimit multiple values.
The maximum number of device numbers that can be
specified is 1,024.
If an LDEV to which a label has already been added is
included, an error occurs.
Required
devnums
LDEV label
You can use the following characters. A label character string
cannot begin or end with spaces.
If you want to apply the label to the storage system:
A-Z a-z 0-9 ! # $ % & ' ( ) + - . = @ [ ] ^ _ ` { } ~
and spaces
You can use a character string of 1-32 bytes for a label.
If you do not want to apply the label to the storage system:
A-Z a-z 0-9 ! # $ % & ' ( ) * + , - . / : ; < = > ? @
[ ] ^ _ ` { | } ~ and spaces
You can use a character string of 1-64 bytes for a label.
Required
label
Command reference80