HP 449298-001 manual Output format, Interactive user output format

Page 36

->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 FullNameContactInfo Enabled

============================================================================

Administrator domain

Steve Johnson

steve.johnson@hp.com true

server

 

 

network

 

 

storage

----------------------------------------------------------------------------

Admin

domain

Admin

Admin

true

 

server

 

 

 

 

network

 

 

 

 

storage

 

 

 

----------------------------------------------------------------------------

steve

domain

Steve Johnson

steve.johnson@hp.com true

 

server

 

 

 

network

 

 

 

storage

 

 

----------------------------------------------------------------------------

Command line 36

Image 36
Contents HP Virtual Connect Manager Command Line Interface User Guide Audience assumptions Contents Technical support Command line overview IntroductionVirtual Connect overview Command line syntax Subcommand managed element parameters options propertiesParameters OptionsCLI command execution modes PropertiesRemote access to the Virtual Connect Manager Command line SubcommandsManaged elements Devicebay DomainSupported actions delete, help, set, show Enclosure Enet-connection Supported actions add, help, remove, setNetwork=SomeNetwork2 PXE=enabled AddressType=Factory-DefaultAddressType EthernetMACExternal-manager Fabric Fc-connection Support actions help, show, update FirmwareIgmp InterconnectLdap Ldap-group Supported actions add, help, remove, set, showMac-cache Network Profile Add profile MyNewProfile2 -NoDefaultEnetConn Add profile MyNewProfile2 -NoDefaultFcConnAdd profile MyNewProfile Assign profileSupported actions help, poweroff, poweron, reboot, show ServerPoweroff server enc02 Poweroff server enc02 -ForcePoweroff server enc0 Poweroff server enc02 -ForceOnTimeoutStackinglink Status SystemlogUplinkport Set uplinkport Set uplinkport PortID Network=NetworkNameSpeed=Auto10Mb100Mb1GbDisabled Set uplinkport enc012 Network=MyNetwork Speed=1GbUplinkset User Set user steve Password=fgY87hHl Set user steve PasswordSet user bill Password=HGtwf7272562 Remove user steveHelp subsystem VcmVersion Command line Output format Interactive user output formatBrad Domain Brad Mills Brad.mills@hp.com True Server Scriptable output format Command line Configuring the Virtual Connect domain using the CLI Basic configurationSsh 192.168.0.120 login as Administrator password Ssh 192.168.0.120 login as AdministratorDomain setup Setting the domain nameConfiguring local users Importing an enclosureAdd user bob password=fhkjdhfk privileges=domain,network Set user bob fullname=Bob J Smith enabled=falseRemove user bob Remove userNetwork setup Configuring Ldap authentication support for usersConfiguring MAC Address ranges Assigned MAC addresses Creating an enet-network Adding uplink ports to an enet-networkCreating a shared uplink port set Fibre Channel setup Configuring WWN address rangesAdding uplink ports to a shared uplink port set Creating a network that uses a shared uplink port setServer Profile setup Modifying FC fabric propertiesDisplaying FC fabrics Set fabric name=MyNewName portspeed=4GbConfiguring the Virtual Connect domain using the CLI Configuring Igmp settings Creating server profilesAdding enet-network connections to a profile Adding FC fabric connections to a server profileConfiguring MAC cache failover settings Set mac-cache enabled=true refresh=10Common management operations Logging out of the CLIResetting the Virtual Connect Manager Reset vcm Reset vcm -failoverVirtual Connect Manager not found at this IP address Technical support Before you contact HPHP contact information Acronyms and abbreviations IgmpPXE Index Index