Chapter 4: Using the Command Line Interface
156
Setting the Y Coordinate
This command specifies the Y coordinate of an environmental sensor.
config:#
externalsensor <n> ylabel "<coordinate>"
Variables:
•
<n> is the ID number of the environmental sensor that you want to configure. The ID number is available in the PDU
web interface or using the command "
show externalsensors <n>
" in the CLI. It is an integer between 1 and 32.
•
<coordinate> is a string comprising up to 24 ASCII printable characters, and it must be enclosed in quotes.
Setting the Z Coordinate
This command specifies the Z coordinate of an environmental sensor.
config:#
externalsensor <n> zlabel "<coordinate>"
Variables:
•
<n> is the ID number of the environmental sensor that you want to configure. The ID number is available in the PDU
web interface or using the command "
show externalsensors <n>
" in the CLI. It is an integer between 1 and 32.
•
Depending on the Z coordinate format you set, there are two types of values for the <coordinate> variable:
Type
Description
Free form
<coordinate> is a string comprising up to 24 ASCII printable characters, and it must be
enclosed in quotes.
Rack units
<coordinate> is an integer number in rack units.
Note: To specify the Z coordinate using the rack units, see Setting the Z Coordinate Format for Environmental Sensors (on
page 46).
Changing the Sensor Description
This command provides a description for a specific environmental sensor.
config:#
externalsensor <n> description "<description>"
Variables:
•
<n> is the ID number of the environmental sensor that you want to configure. The ID number is available in the PDU
web interface or using the command "
show externalsensors <n>
" in the CLI. It is an integer between 1 and 32.
•
<description> is a string comprising up to 64 ASCII printable characters, and it must be enclosed in quotes.