Output format, Interactive user output format – HP Virtual Connect 1.10Gb-F Ethernet Module for c-Class BladeSystem User Manual

Page 73

Advertising
background image

Command line 73

- Display a summary listing of all device bays:
->show devicebay

- Show detailed information for all device bays:
->show device bay *

- Show detailed information for a specific device bay 2 of
a specific enclosure:
->show devicebay enc0:2

Output format

The CLI provides two different output formats:

Interactive user output format

Scriptable output format

The interactive user output format is the default. However, by using a command-line option, the user can
also specify a "parse-friendly" output format, which provides data in a format that can be easily
interpreted by automated scripts invoking the CLI. The different output formats primarily impact the show

subcommand in the CLI infrastructure, where a majority of the informational details are displayed.

Interactive user output format

The interactive user output format provides a user friendly view of information at the command line. When

providing an overview, or listing, of several instances of data, a tabular text format is displayed. If an

individual instance of data is being displayed, then the stanza format is used.
Example 1: Tabular text output format for displaying a user list
->show user
============================================================================
UserName Privileges FullName ContactInfo Enabled
============================================================================
Administrator domain Steve Johnson [email protected] true
server
network
storage
----------------------------------------------------------------------------
Admin domain Admin Admin true
server
network
storage
----------------------------------------------------------------------------
steve domain Steve Johnson [email protected] true
server

Advertising