HP MSA 1040 HP MSA 1040 CLI Reference Guide (762782-001, March 2014) - Page 144
set cli-parameters, Alternate form of XML output which displays child objects embedded indented
View all HP MSA 1040 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 144 highlights
set cli-parameters Description Sets options that control CLI behavior. If you are accessing the CLI through the network port, settings apply to the current CLI session only. If you are accessing the CLI through the enclosure's CLI port, settings persist across sessions. The base, locale, precision, temperature scale, timeout, and units settings are read from the user's account, and can be overridden by using this command. Syntax set cli-parameters [base 2|10] [console|api|api-embed|ipa|json] [brief enabled|disabled|on|off] [locale English|en|Spanish|es|French|fr|German|de|Italian|it|Japanese|ja |Korean|ko|Dutch|nl|Chinese-simplified|zh-s|Chinese-traditional|zh-t] [pager enabled|disabled|on|off] [precision #] [storage-size-base 2|10] [storage-size-precision #] [storage-size-units auto|MB|GB|TB] [temperature-scale celsius|c|fahrenheit|f] [timeout #] [units auto|MB|GB|TB] Parameters base 2|10 Optional. Sets the base for entry and display of storage-space sizes: • 2: Sizes are shown as powers of 2, using 1024 as a divisor for each magnitude. • 10: Sizes are shown as powers of 10, using 1000 as a divisor for each magnitude. This is the default. Operating systems usually show volume size in base 2. Disk drives usually show size in base 10. Memory (RAM and ROM) size is always shown in base 2. console|api|api-embed|ipa|json Optional. Sets the output format: • console: Supports interactive use of the CLI by displaying command output in easily readable format. This format automatically sizes fields according to content and adjusts content to window resizes. This is the default. • api: Supports scripting by displaying command output in XML. All objects are displayed at the same level, related by COMP elements. • api-embed: Alternate form of XML output which displays "child" objects embedded (indented) under "parent" objects. • ipa: Alternate form of XML output. • json: Alternate data-interchange format. brief enabled|disabled|on|off Optional. • enabled or on: In XML output, this setting shows a subset of attributes of object properties. The name and type attributes are always shown. • disabled or off: In XML output, this setting shows all attributes of object properties. This is the default. locale English|en|Spanish|es|French|fr|German|de|Italian|it|Japanese| ja|Korean|ko|Dutch|nl|Chinese-simplified|zh-s|Chinese-traditional|zh-t Optional. The display language. The default is English. 144