HP 449298-001 manual Command line

Page 39

Example 3: Scriptable output format displaying all users (with table header)

->show user -output=script2

UserName;Privileges;FullName;ContactInfo;Enabled

Administrator;domain,server,network,storage;Steve

Johnson;steve.johnson@hp.com;true

Admin;domain,server,network,storage;Admin;Admin;true

steve;domain,server,network,storage;Steve

Johnson;steve.johnson@hp.com;true

Example 4: Scriptable output format displaying all users (no table header)

->show user -output=script2,no-headers

Administrator;domain,server,network,storage;Steve

Johnson;steve.johnson@hp.com;true

Admin;domain,server,network,storage;Admin;Admin;true

steve;domain,server,network,storage;Steve

Johnson;steve.johnson@hp.com;true

Example 5: Scriptable output format displaying a single user (with table header)

->show user steve -output=script2

UserName;Privileges;FullName;ContactInfo;Enabled

steve;domain,server,network,storage;Steve

Johnson;steve.johnson@hp.com;true

Example 6: Scriptable output format displaying a single user (no table header)

->show user steve -output=script2,no-headers

steve;domain,server,network,storage;Steve

Johnson;steve.johnson@hp.com;true

Command line 39

Image 39
Contents HP Virtual Connect Manager Command Line Interface User Guide Audience assumptions Contents Technical support Command line overview IntroductionVirtual Connect overview Options Command line syntaxSubcommand managed element parameters options properties ParametersProperties CLI command execution modesRemote access to the Virtual Connect Manager Command line SubcommandsManaged 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 Status SystemlogUplinkport 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=HGtwf7272562Help subsystem VcmVersion 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 bobNetwork 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 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 Technical support Before you contact HPHP contact information Igmp Acronyms and abbreviationsPXE Index Index