HP StorageWorks 2300 Family Modular Smart Array CLI reference guide (500912-002, July 2010)

94
set enclosure
Description Sets an enclosure's name, location, rack number, and rack position. Set these parameters to values
that help you identify and locate the enclosure. A value that contains a space must be enclosed in
double quotes.
These values are used when user interfaces show enclosure-related data; for example, in output of
the show enclosures command and in event-log entries related to enclosures.
Syntax
set enclosure
[name new-name]
[location location]
[rack-number rack-number]
[rack-position rack-position]
enclosure-number
Parameters name new-name
A new name for the enclosure. The name can include a maximum of 20 bytes, using characters
except double quote or backslash.
location location
The location of the enclosure. The name can include a maximum of 20 bytes, using characters
except double quote or backslash.
rack-number rack-number
The number of the rack containing the enclosure, from 0–255.
rack-position rack-position
The enclosure's position in the rack, from 0–255.
enclosure-number
The enclosure ID.
Example Set parameters for enclosure 1:
# set enclosure name Storage-5 location Lab rack-number 9 rack-position 3 1
Success: Command completed successfully.
See also show enclosures