HP 449298-001 manual CLI command execution modes, Properties

Page 7

output option requires an argument, which is a list of one or more output format attributes. However, the -quietoption does not require any arguments to be specified.

The general format of a CLI option is as follows:

-<option>[=argument1>,<argument2>, . . .]

Example: ->show user suzi -output=script1

In the example, -outputis the option, and script1 is an option argument.

Properties

Properties are specific configuration attributes of a managed element. Properties are commonly used during set operations or add operations where a managed element is being modified or created. In some limited circumstances, properties might also be used as a part of a show or other command.

IMPORTANT: If a property value contains embedded spaces, then the entire property value must be contained within single or double quotes. Likewise, if a double quote is part of a property value, it should be contained within single quotes, and if a single quote is part of a property value, it should be contained within double quotes.

CLI command execution modes

The Virtual Connect Manager CLI provides two different methods for executing commands: interactive shell mode and non-interactive mode.

Interactive Shell Mode

This mode is used to invoke CLI command operations using the dedicated management shell. The shell is provided after the user logs in with valid credentials, and only accepts known VCM CLI commands as input. Users can quit the shell by using the exit command. An example of logging into the interactive management shell is provided below. In the example, the primary VCM is located at IP address 192.168.0.120.

>ssh 192.168.0.120

login as: michael

password: ***********

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

HP Virtual Connect Management CLI v1.20

(C)Copyright 2006-2007 Hewlett-Packard Development Company, L.P. All Rights Reserved

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

GETTING STARTED:

help

:

displays a list of available subcommands

exit

:

quits the command shell

<subcommand> ? :

displays a list of managed elements for a subcommand

<subcommand> <managed element> ? : displays detailed help for a command

Introduction 7

Image 7
Contents HP Virtual Connect Manager Command Line Interface User Guide Audience assumptions Contents Technical support Introduction Command line overviewVirtual Connect overview Options Command line syntaxSubcommand managed element parameters options properties ParametersProperties CLI command execution modesRemote access to the Virtual Connect Manager Subcommands Command lineManaged elements Domain DevicebaySupported actions delete, help, set, show Enclosure Supported actions add, help, remove, set Enet-connectionEthernetMAC Network=SomeNetwork2 PXE=enabledAddressType=Factory-Default AddressTypeExternal-manager Fabric Fc-connection Firmware Support actions help, show, updateInterconnect IgmpLdap Supported actions add, help, remove, set, show Ldap-groupMac-cache Network Profile Assign profile Add profile MyNewProfile2 -NoDefaultEnetConnAdd profile MyNewProfile2 -NoDefaultFcConn Add profile MyNewProfileServer Supported actions help, poweroff, poweron, reboot, showPoweroff server enc02 -ForceOnTimeout Poweroff server enc02Poweroff server enc02 -Force Poweroff server enc0Stackinglink Systemlog StatusUplinkport Set uplinkport enc012 Network=MyNetwork Speed=1Gb Set uplinkportSet uplinkport PortID Network=NetworkName Speed=Auto10Mb100Mb1GbDisabledUplinkset User Remove user steve Set user steve Password=fgY87hHlSet user steve Password Set user bill Password=HGtwf7272562Vcm Help subsystemVersion Command line Interactive user output format Output formatBrad Domain Brad Mills Brad.mills@hp.com True Server Scriptable output format Command line Ssh 192.168.0.120 login as Administrator Configuring the Virtual Connect domain using the CLIBasic configuration Ssh 192.168.0.120 login as Administrator passwordImporting an enclosure Domain setupSetting the domain name Configuring local usersRemove user Add user bob password=fhkjdhfk privileges=domain,networkSet user bob fullname=Bob J Smith enabled=false Remove user bobConfiguring Ldap authentication support for users Network setupConfiguring MAC Address ranges Assigned MAC addresses Adding uplink ports to an enet-network Creating an enet-networkCreating a shared uplink port set Creating a network that uses a shared uplink port set Fibre Channel setupConfiguring WWN address ranges Adding uplink ports to a shared uplink port setSet fabric name=MyNewName portspeed=4Gb Server Profile setupModifying FC fabric properties Displaying FC fabricsConfiguring the Virtual Connect domain using the CLI Adding FC fabric connections to a server profile Configuring Igmp settingsCreating server profiles Adding enet-network connections to a profileLogging out of the CLI Configuring MAC cache failover settingsSet mac-cache enabled=true refresh=10 Common management operationsReset vcm Reset vcm -failover Resetting the Virtual Connect ManagerVirtual Connect Manager not found at this IP address Before you contact HP Technical supportHP contact information Igmp Acronyms and abbreviationsPXE Index Index