﻿=====================================================================================================================================
GIGABYTE(TM) Utility User Guide v2.1.76
=====================================================================================================================================
Chapter 1
=====================================================================================================================================
GbtUtility is a command line utility for communicate with server.It support a lots of commands that is often used.
There also has some advance usage on standard server or Racklution-EX, such as standard server remote update firmware,
load default or Racklution-EX log dump, firmware update. Execute target cannot only a single IP but
also a group of IP by scan a range of IP. 
	
[Linux]
	 Ubuntu 14.04, CentOS 7
	 System required: Oracle Java 7/OpenJDK 1.8.0_222 above, javaws, freeipmi, ipmitool
	 root authority is necessary 
[Windows]
	 Windows 2012 R2, Windows 10
	 System required: Oracle Java 7 above, javaws, ipmitool
	 Administrator authority is necessary
[Mac OS]
	 System required: java 7 above, javaws, ipmitool
	
* Note : Linux maybe has to be disabled iptables like "service iptables stop" before operating GbtUtility
=====================================================================================================================================	
Chapter 2
=====================================================================================================================================	
How to use:

1. Utility basic command construct:
	java -jar GbtUtility-2.1.76.jar [options] <command> [parameters]
	
2. Options:
	-H, --hostname <arg>        execute command via this hostname
	-L, --nodelist <arg>        execute command via node list (it will created by 3.1 scan command)
	-S, --scan <arg>            do scan nodes IP range for this option, e.g. -S rmcp,10.1.27.1,10.1.27.15
	-U, --username <arg>        set bmc's username
	-P, --password <arg>        set bmc's password
	-RU,--redfishusername <arg> set redfish's username (only redfish related command will need)
	-RP,--redfishpassword <arg> set redfish's password (only redfish related command will need)
	-h, --help                  print help message

* Notice : It is not allowed use both -H and -S options at same time.
=====================================================================================================================================
Chapter 3
=====================================================================================================================================
GIGABYTE(TM) Utility Command List v2.1.76 :

ID:	<command>:			Command abstract:
3.1	scan				Scan a range of ip, will produce node list. This command execute without -H or -S options
					and save all activate BMC IP addresses in "Nodelist.log". When the other command execute
					without -H or -S options, the utility keep IP addresses in "Nodelist.log" for execution order.
3.2	chassis				Set node chassis power state.
3.3	limit				Set node power limit.
3.4	boot				Set boot device option.
3.5	trap				Set node trap ip.
3.6	pef				Set node platform event filter.
3.7	ipv6				Set enable/disable node ipv6.
3.8	power				Get node power reading.
3.9	sel				Get or clear node sensor event log.
3.10	fru				Get node FRU data.
3.11	sdr				Get node sensor data records.
3.12	msr				Get CPU model specific registers.
3.13	ipsrc				Get or set ip source. (DHCP/static)
3.14	hwinfo				Get hardware information.
3.15	logochange			Change logo utility.
3.16	smbios				Get smbios information.
3.17	loaddf				Load default to mass nodes. (Load bmc settings)
3.18	local				Local command utility.
3.18.1	 \---->	onlineupdate		 \---->	Update BIOS or BMC at local side and download FW from GBT FTP.
3.19	update				Update firmware utility.
3.19.1	 |---->	bmc			 |---->	Update BMC/CMC firmware.
3.19.2	 |---->	bios			 |---->	Update BIOS firmware.
3.19.3	 |---->	cpld			 |---->	Update CPLD firmware.
3.19.4	 |---->	psu			 |---->	Update PSU firmware.
3.19.5	 \----> fpga			 \----> Update FPGA firmware.
3.20	ikvm				Launch iKVM windows of node.
3.21	identify			Control node panel identify light.
3.22	mcinfo				Get BMC information including FW version.
3.23	meversion			Show BIOS ME version.
3.24	userapp				Set or get BMC user accounts command.
3.24.1	 |---->	set			 |---->	Set user name, password and privilege to specific user ID.
3.24.2	 |---->	list			 |---->	Get all user accounts (except the password) from all available user IDs.
3.24.3	 |----> enable			 |----> Enable user and SOL service by given ID number.
3.24.4	 \----> disable			 \----> Disable user and SOL service by given ID number.
3.25	smtp				Set BMC SMTP Email, incliding Sender information, destination email addresses, SMTP (email) server settings 
	 |				and SMTP authentication. You can used following command format to set above four options.
3.25.1	 |---->	set			Set SMTP server configurations.
3.25.2	 \---->	get			Get SMTP server configurations.
3.26	vmcli				Virtual media mount and umount utility. Support CD/ROM, floppy,
	 |				removable images or devices as vertual media to remote node server.
	 |				(Notice that vmcli command only support Unix systems right now)
3.26.1	 |---->	mount			 |---->	Mount vertual media via specific BMC IP addresss.
3.26.2	 \---->	unmount			 \---->	Unmount vertual media via specific BMC IP address.
3.27	ntp				Set NTP configuration.
3.28	bmcutil				BMC Web utility
3.28.1	 |---->	reboot			 |---->	Reboot BMC by given BMC IPs. This option without any arguments.
3.28.2	 |---->	prtsc			 |----> Upload last crash sreen by https request, and download print screen as .png images
	 |				 |	of servers by given BMC IPs. The download images would be store at given path.
3.28.3	 |---->	backup			 |---->	Download BMC Configuration as backup file at given download path.
3.28.4	 |---->	restore			 |---->	Restore BMC Configuration by given configuration file.
3.28.5	 |---->	phyinfo			 |---->	Download BMC 2U JBOD PHY information JSON file.
3.28.6	 |---->	bsexport		 |---->	Export BIOS setup menu as JSON file from BMC.
3.28.7	 |---->	bsimport		 |---->	Import BIOS setup menu as JSON file from BMC.
3.28.8	 \---->	getsmarthdd		 \---->	Get JSON file of get smartHDD & RAID information.
3.28.9	 \---->	caupload		 \---->	Upload CA file and update.
3.28.10	 \---->	fanprofile		 \---->	Upload fan profile.
3.28.11	 \---->	showfanprofile		 \---->	Show up all fan profiles
3.28.12	 \---->	runfanprofile		 \---->	Execute fan profile.
3.29	gpufan				Get or set GPU fan policy.
3.30	multinode			Standard with CMC utility.
3.30.1	 \---->	layout			 \---->	Print information of all nodes managed by CMC.
3.31	mac				Get MAC list.
3.32    redfish				Redfish command line API.
3.33	rest				AMI RESTful command line API.
3.34	psuinfo				Get PSU FRU data.
3.35	bpinfo				Get Back plain FRU data.
3.36	postcode			Get BIOS code.
3.37	raw				Send IPMI raw command.
3.38	lanprint			Get BMC LAN configurations.
3.39	netconfig			BMC network general configurations service command.
	 \---->	set			 \---->	Set the network configurations.
3.40	mcreset				BMC reset IPMI command.
	 |---->	cold			 |----> Cold reset.
	 \----> warm			 \----> Warm reset.
3.41	solconfig			IPMI BMC SOL configuration command.
	 |---->	set			 |----> Set SOL configuration.
	 \----> get			 \----> Get SOL configuration.
3.42	fwlist				Get firmware version list.
3.43	imageactivestatus		Get image active status.
3.44	hpmupdate			Update BMC or BIOS by HPM firmware.
=====================================================================================================================================
Chapter 3-1
=====================================================================================================================================
3.1 	scan

	abstract: Scan the BMC devices and insert the IP addresses into node list.

	usage	: java -jar GbtUtility-2.1.76.jar scan <rmcp|ssdp> [args ...]

	<protocol> :			Scan protocol.

		rmcp			RMCP ping to scan BMC which supported IPMI protocol.
		ssdp			SSDP ping to scan BMC which supported Redfish and REST API services.
		
	[args ...] :			The other arguments of different scan mode.

	    	[timeout]		Timeout of SSDP protocol scan mode (Unit : ms) (Default value is 6000 ms).
		<IP Start>		Start IP address of RMCP scan mode for scan range.
		<IP End>		End IP address of RMCP scan mode for scan range.

	Example	:
		  java -jar GbtUtility-2.1.76.jar scan rmcp 10.1.27.15 10.1.27.100
		  java -jar GbtUtility-2.1.76.jar scan ssdp
		  java -jar GbtUtility-2.1.76.jar scan ssdp 7500

	Option usage :
		  java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.7.15,10.1.7.120 <command> [args...]
		  java -jar GbtUtility-2.1.76.jar -S ssdp <REST command> [args...]
		  java -jar GbtUtility-2.1.76.jar -S ssdp 5000 <REST command> [args...]

	Notice	:
		1. The output node list will located at the "results" folder of GbtUtility
		   current execute path. (./results/yyyy-mm-dd/scan/Nodelist.log)
		2. If you want to using the previous node list that you scanned for execute
		   command on multiple targets you don't use the option -S.
=====================================================================================================================================
3.2	chassis

	abstract: Set node chassis power state.
		
	usage	: java -jar GbtUtility-2.1.76.jar [options] chassis <on|off|cycle|reset>		
	<on>	: power up target node.
	<off>	: power down target node.
	<cycle>	: provides a power off interval of at least 1 second.
	<reset>	: hard reset target node.

	Example	:
		  by node list (default)   : java -jar GbtUtility-2.1.76.jar chassis on
  		  by node list (specified) : java -jar GbtUtility-2.1.76.jar -L ./nodelist chassis on
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 chassis off
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 chassis cycle
=====================================================================================================================================
3.3	limit (Only support Intel and AMD platform)

	abstract: Power limit management command.
			
	usage	: java -jar GbtUtility-2.1.76.jar [options] limit <get | activate | deactivate>

	<get>		: Get target node power limit configurations. (no rest args)
	<activate>	: Activate target node power limit. (no rest args)
	<deactivate>	: Deactivate target node power limit. (no rest args)

	usage	: java -jar GbtUtility-2.1.76.jar [options] limit <set> <walts> [action] <correction> <sample>
	<set>		: Set target node power limit configurations.
	<walts>		: The maximum limitations of power (Unit: Walts)
	[action]	: Execute the exception action when power range out of limitation.
			  The default is set to "No actions".
		<no>	: No actions
		<off>	: Hard Power Off system & log event to SEL
		<log>	: Log event to SEL
	<correction>	: Correction time (milliseconds)
	<sample>	: Sampling period (seconds)

	Example	:
		  by node list (default) : java -jar GbtUtility-2.1.76.jar limit set 220
		  by node list (default) : java -jar GbtUtility-2.1.76.jar limit set 220 no
		  by node list (specified) : java -jar GbtUtility-2.1.76.jar limit -L ./nodelist set 200 off
		  by node list (specified) : java -jar GbtUtility-2.1.76.jar limit -L ./nodelist set 210 log 6000 3
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 limit get
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 limit activate
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 limit deactivate
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 limit deactivate
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 limit set 210 log
=====================================================================================================================================
3.4	boot

	abstract: Set the boot options by send BMC.

	usage	: java -jar GbtUtility-2.1.76.jar [options] boot <boot device> <mode>
	<boot device>		 Boot devices name.
		pxe		 : Set force pxe boot
		disk		 : Set force boot from BIOS default boot device.
		safe		 : Set force boot from BIOS default boot device, request safe mode.
		diag		 : Set force boot from diagnostic partition.
		cdrom		 : Set force boot from CD/ROM.
		bios		 : Set force boot into BIOS setup.
		floppy		 : Set force boot from Floppy/primary removable media.
		vmcdrom		 : Set force boot from remote CD/ROM media.
		vmfloppy	 : Set force boot from remote Floppy/primary removable media.

	<mode>	:		 BIOS boot mode.
		uefi		 : Set force boot as UEFI mode.
		legacy		 : Set force boot as Legacy mode.

	Example	:
		  by node list (default)   : java -jar GbtUtility-2.1.76.jar boot pxe uefi
		  by node list (specified) : java -jar GbtUtility-2.1.76.jar -L ./nodelist boot pxe uefi
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 boot vmcdrom legacy
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 boot cdrom uefi
=====================================================================================================================================
3.5	trap	(Not support AMI)

	abstract: Set node trap ip
	
	usage	: java -jar GbtUtility-2.1.76.jar [options] trap <destination number> <IP 1> ... <IP 8> 
	<destination number>	: Destination number, 1~8 is just setting sinlge destination, 0 is setting multiple destination.
	<IP1~8>	: IP address, can enter IPv4 or IPv6, set 0=disable, 1=enable, 2=ignore.
		
	Example(destination number=1~8)	:
		  by node list	 : java -jar GbtUtility-2.1.76.jar trap 1 2002:c706:1ef:1::1001
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 trap 2 10.1.27.100
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 trap 8 0

	Example(destination number=0)	:
		  by node list	 : java -jar GbtUtility-2.1.76.jar trap 0 1 2 2002:c706:1ef:1::1001 192.168.0.1 2 192.168.0.1 2002:c706:1ef:1::1002 192.168.0.2
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 trap 0 1 2 2002:c706:1ef:1::1001 192.168.0.1 2 192.168.0.1 2002:c706:1ef:1::1002 192.168.0.2
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 trap 0 1 2 2002:c706:1ef:1::1001 192.168.0.1 2 192.168.0.1 2002:c706:1ef:1::1002 192.168.0.2
=====================================================================================================================================
3.6	pef	(Not support AMI)

	abstract: Set node platform event filter
	
	usage	: java -jar GbtUtility-2.1.76.jar [options] pef <set|get> <none|reboot|off|cycle> <enable|disable>
	
    	1. Get or set PEF information.
		<get>		 : Get PEF information and save to log file.
		<set>		 : Set PEF information by parameters.
	2. Send same action to all target platform event filter list.
		<none>		 : Do nothing when get event.
		<reboot>	 : Reboot node when get event.
		<off>		 : Power down node when get event.
		<cycle>		 : Power cycle node when get event.
			
	3. Generate platform event trap when node get platform event.
		<enable>	 : Enable event trap when node get event.
		<disable>	 : Disable event trap when node get event.
	
	Example	:
		  by node list	 : java -jar GbtUtility-2.1.76.jar pef get
		  by node list	 : java -jar GbtUtility-2.1.76.jar pef set reboot enable
		  by single host : java -jar GbtUtility-2.1.76.jar pef -H 10.1.27.79 set reboot enable
		  by scan host	 : java -jar GbtUtility-2.1.76.jar pef -S rmcp,10.1.27.1,10.1.27.100 set reboot enable
=====================================================================================================================================
3.7	ipv6	(Not support AMI)

	abstract: Set enable/disable node ipv6.

	usage	: java -jar GbtUtility-2.1.76.jar [options] ipv6 <enable|disable>
	<enable>		 : Enable target node ipv6 config
	<disable>		 : Disable target node ipv6 config
		
	Example	:
		  by node list	 : java -jar GbtUtility-2.1.76.jar ipv6 enable
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 ipv6 disable
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 ipv6 enable
=====================================================================================================================================
3.8	power		

	abstract: Get node power reading
		
	usage	: java -jar GbtUtility-2.1.76.jar [options] power
	
	output	: Show target power reading.

	Example	:
		  by node list (default)   : java -jar GbtUtility-2.1.76.jar power
		  by node list (specified) : java -jar GbtUtility-2.1.76.jar -L ./nodelist power
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 power
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 power
=====================================================================================================================================	
3.9	sel

	abstract: IPMI SEL command inculding get SEL list, BMC SEL repository info,
		  SEL time, set SEL time and clear the SEL logs.
	
	usage	: java -jar GbtUtility-2.1.76.jar [options] sel <actions> [args...]
		<actions> :		SEL command actions.
		info			Get SEL repository info.
		get			List all sensors event logs.
		clear			Clear all SEL logs.
		time			SEL time command.
			<get>		Get the current SEL time.
			<set>		Set the SEL current time by given "T" argument.		
			<T>		The time you want to set. Notice the valid time
					string format pattern as follows:
					1. "yyyy.MM.dd G 'at' HH:mm:ss z"
					2. "yyyy-MM-dd HH:mm:ss"
					3. "yyyy-MM-dd"
					4. "yyyy/MM/dd"
					5. "yyyy-MM-dd'T'HH:mm:ss.SSSZ"
					6. "yyyyy.MMMMM.dd GGG hh:mm aaa"
					7. "EEE, MMM d, ''yy"
					8. "EEE, d MMM yyyy HH:mm:ss Z"
	Example	:
		  by node list (default)   : java -jar GbtUtility-2.1.76.jar sel time set 2017-05-07
				             java -jar GbtUtility-2.1.76.jar sel time get
		  by node list (specified) : java -jar GbtUtility-2.1.76.jar -L ./nodelist sel time set 2017-05-07
				             java -jar GbtUtility-2.1.76.jar -L ./nodelist sel time get
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 sel get
				   java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 sel clear
		  by scan host   : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 sel info
=====================================================================================================================================
3.10	fru

	abstract: Get FRU data.

	usage	: java -jar GbtUtility-2.1.76.jar [options] fru
	
	Example	:
		  by node list (default)   : java -jar GbtUtility-2.1.76.jar fru
		  by node list (specified) : java -jar GbtUtility-2.1.76.jar -L ./nodelist fru
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 fru
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 fru
=====================================================================================================================================
3.11	sdr

	abstract: Get the sensors list and BMC SDR repository info.

	usage	: java -jar GbtUtility-2.1.76.jar [options] sdr <list | info>
	<list>			 : List all seneors reading.
	<info>			 : Show BMC SDR repository info.
	
	Example	:
		  by node list (default)    : java -jar GbtUtility-2.1.76.jar sdr list
		  by node list (specified)  : java -jar GbtUtility-2.1.76.jar -L nodelist sdr list
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 sdr info
		  by scan host   : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 sdr list
=====================================================================================================================================
3.12	msr

	abstract: Get CPU model specific registers.
		
	usage	: java -jar GbtUtility-2.1.76.jar [options] msr
	
	output	: Show all register status diagnosis, will show error if register byte got error.
		  "CPU_X ok" means cpu is noraml, "CPU_X error" means cpu is abnormal.

	Example	:
		  by node list (default)	 : java -jar GbtUtility-2.1.76.jar msr
		  by node list (specified)	 : java -jar GbtUtility-2.1.76.jar -L ./nodelist msr
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 msr
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 msr
=====================================================================================================================================
3.13	ipsrc

	abstract: Get or set ip source(DHCP/Static)
		
	usage	: java -jar GbtUtility-2.1.76.jar [options] ipsrc <get|set> <DHCP|Static(set only)>
	
	output	: Show ip source.
	
	Example	:
		  by node list (default)	 : java -jar GbtUtility-2.1.76.jar ipsrc get
		  by node list (specified)	 : java -jar GbtUtility-2.1.76.jar -L ./nodelist ipsrc get
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 ipsrc set DHCP
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 ipsrc set static
=====================================================================================================================================	
3.14	hwinfo		(Not support AMI)		

	abstract: Get hardware information
		
	usage	: java -jar GbtUtility-2.1.76.jar [options] hwinfo
	
	output	: Show hwinfo info , such as cpu, memmory, hdd name, size, etc.
	
	Example	:
		  by node list (default)	 : java -jar GbtUtility-2.1.76.jar hwinfo
		  by node list (specified)	 : java -jar GbtUtility-2.1.76.jar -L ./nodelist hwinfo
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 hwinfo
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 hwinfo
=====================================================================================================================================
3.15	logochange	(Not support AMI)

	abstract: Change logo utility.

	usage	: java -jar GbtUtility-2.1.76.jar [options] logochange <bg=logo_background.png> <left=logo_left.png>
	<bg=>	: Set background logo image.
	<left=>	: Set left logo image.

	Image file required: 
		1. logo_background.png:  * x63 pixel
		2. logo_left.png:       404x63 pixel
	
	Notice	: The images properties order can be any order ways. And the image name can be any names.
			
	Example	:
		  by node list (default)   : java -jar GbtUtility-2.1.76.jar logochange bg=logo_1.png left=logo_2.png
		  by node list (specified)   : java -jar GbtUtility-2.1.76.jar -L ./nodelist logochange bg=logo_1.png left=logo_2.png
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.159 logochange left=logo_2.png bg=logo_1.png
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 logochange left=logo_2.png bg=logo_1.png
=====================================================================================================================================
3.16	smbios

	abstract: Get smbios information.

	usage	: java -jar GbtUtility-2.1.76.jar [options] smbios
	
	output	: Show smbios info.
			
	Example	:
		  by node list (default)	 : java -jar GbtUtility-2.1.76.jar smbios
		  by node list (specified)	 : java -jar GbtUtility-2.1.76.jar -L ./nodelist smbios
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 smbios
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 smbios
=====================================================================================================================================
3.17	loaddf	(Not support AMI& AST2500)

	abstract: Load default to mass nodes. (load bmc settings)
		
	usage	: java -jar GbtUtility-2.1.76.jar [options] loaddf <bmc | cancel>
	<bmc>			 : Load bmc default to target IP, needs default.conf.
	<cancel>		 : Cancel all load default process.
		
	Example	:
		  by node list (default)	 : java -jar GbtUtility-2.1.76.jar loaddf bmc
		  by node list (specified)	 : java -jar GbtUtility-2.1.76.jar -L ./nodelist loaddf bmc
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 loaddf bmc
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 loaddf cancel
=====================================================================================================================================

3.18	local

	abstract: Local command utility.
		
	usage	: java -jar GbtUtility-2.1.76.jar local <onlineupdate> [args...]
*************************************************************************************************************************************
3.18.1	<onlineupdate>		 : Update BIOS or BMC at local side and download FW from GBT FTP.
		<bmc>		 : BMC update.
		<bios>		 : BIOS update.

	Example :
		  by single host : java -jar GbtUtility-2.1.76.jar local onlineupdate bmc
=====================================================================================================================================
3.19	update

	abstract: update command for update BMC/BIOS/CPLD/PSU firmware.

	usage	: java -jar GbtUtility-2.1.76.jar [optoins] update <bmc | bios | cpld | psu> [arguemts...]
*************************************************************************************************************************************
3.19.1	bmc
	usage	: java -jar GbtUtility-2.1.76.jar [options] update bmc [auto] [skip] [preserve] [tftpip="IP"] [path="Path"] <FW packages ...>

	[auto]			 : Do you want to continue main update process automatically after found the suitable FW package
	(optional)		   without ask your permission. If you want, set "auto" into command line arguments.

	[skip]			 : Do you want to skip the update BMC FW when the suitable FW package's revision
	(optional)		   as same as the current revision of the target BMC. If you want to, set "skip"
				   into command line arguments.

	[preserve]		 : Do you want to preserve the BMC configurations after FW updated. If you want,
	(optional)		   set "preserve" into command line arguments. Otherwise it will clear all BMC configurations
				   and set as defaults.

	[tftpip="IP"]		 : Apply the IP address from your current machine's network interfaces for TFTP server usage.
	(optional)		   If you don't apply this optional argument. GbtUtility will detect all network interfaces
				   on your current machine and pick one IP address up from them which closest the target BMC IP address.
				   (Notice auto detect pick up solution of support IPv4. If your network environment is IPv6,
				   you must apply this argument)

	[port="Port"]		 : Apply the TFTP port which TFTP server will use. If you don't apply this optional argument, GbtUtiliy
				   will use port 69 as default value.

	[path="Path"]		 : Apply the TFTP server root path for update process, If you don't apply this argument, GbtUtility
	(optional)		   will auto open the TFTP server service and used it for update process to transfer the FW image
				   to remote BMC. If you apply this arguments which means you used the own TFTP server service
				   applications on your currents machine and allocate the root path for it.
				   
	[ct="Timeout"]		 : Apply the connection timeout for REST update command (millisecond).
	(optional)
	
	[rt="Timeout"]		 : Apply the read timeout for REST update command (millisecond).
	(optional)

	[wr="Timeout"]		 : Apply the waiting time for BMC restart (millisecond).
	(optional)
	
	[backupimg]		 : Execute the process of updating 2nd SPI BMC after updating 1st SPI.
				   ******************** ! ! WARNING ! ! ********************
		  		   If update backup image process fail or break by accident, it may cause system crash.

				   Please use it carefully.
				   ******************** ! ! WARNING ! ! ********************

	<FW packages ...>	 : BMC update firmware packages.
				   (Note: Firmware packages only support .zip files and must set at least one)
				   
	Example	:
		  by node list (default)	 : java -jar GbtUtility-2.1.76.jar update bmc auto preserve path=/tftpboot rt=300000 ct=5000000 tftpip=10.2.1.1 702.zip 703.zip
				 : java -jar GbtUtility-2.1.76.jar update bmc skip path=/tftpboot tftpip=10.2.1.1 702.zip 703.zip
				 : java -jar GbtUtility-2.1.76.jar update bmc skip preserve 702.zip 703.zip
		  by node list (specified)	 : java -jar GbtUtility-2.1.76.jar -L ./nodelist update bmc auto preserve path=/tftpboot tftpip=10.2.1.1 702.zip 703.zip
				 : java -jar GbtUtility-2.1.76.jar -L ./nodelist update bmc skip path=/tftpboot tftpip=10.2.1.1 702.zip 703.zip
				 : java -jar GbtUtility-2.1.76.jar -L ./nodelist update bmc skip preserve 702.zip 703.zip
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 update bmc path=/root tftpip=10.2.1.1 /home/user/304.zip
				 : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 update bmc auto /home/user/304.zip
				 : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 update bmc auto preserve /home/user/304.zip
				 : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 update bmc auto port=2434 /home/user/304.zip
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 update bmc path=tmp tftpip=10.2.1.1 505.zip
				 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 update bmc auto /home/user/304.zip
				 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 update bmc auto skip /home/user/304.zip
*************************************************************************************************************************************
3.19.2	bios
	usage	: java -jar GbtUtility-2.1.76.jar [options] update bios [auto] [tftpip="IP"] [path="Path"] <FW packages ...>

	[auto]			 : Do you want to continue main update process automatically after found the suitable FW package
	(optional)		   without ask your permission. If you want, set "auto" into command line arguments.

	[tftpip="IP"]		 : Apply the IP address from your current machine's network interfaces for TFTP server usage.
	(optional)		   If you don't apply this optional argument. GbtUtility will detect all network interfaces
				   on your current machine and pick one IP address up from them which closest the target BMC IP address.
				   (Notice auto detect pick up solution of support IPv4. If your network environment is IPv6,
				   you must apply this argument)

	[port="Port"]		 : Apply the TFTP port which TFTP server will use. If you don't apply this optional argument, GbtUtiliy
				   will use port 69 as default value.

	[path="Path"]		 : Apply the TFTP server root path for update process, If you don't apply this argument, GbtUtility
	(optional)		   will auto open the TFTP server service and used it for update process to transfer the FW image
				   to remote BMC. If you apply this arguments which means you used the own TFTP server service
				   applications on your currents machine and allocate the root path for it.

	[ct="Timeout"]		 : Apply the connection timeout for REST update command (millisecond).
	(optional)
	
	[rt="Timeout"]		 : Apply the read timeout for REST update command (millisecond).
	(optional)
	
	[backupimg]		 : Execute the process of updating 2nd SPI BIOS after updating 1st SPI.
				   ******************** ! ! WARNING ! ! ********************
		  		   If update backup image process fail or break by accident, it may cause system crash.

				   Please use it carefully.
				   ******************** ! ! WARNING ! ! ********************

	<FW packages ...>	 : BIOS update firmware packages.
				   (Note: Firmware packages only support .zip files and must set at least one)

	Example	:
		  by node list (default) : java -jar GbtUtility-2.1.76.jar update bios auto rt=300000 ct=5000000 path=/tftpboot tftpip=10.2.1.1 702.zip 703.zip
				 : java -jar GbtUtility-2.1.76.jar update bios path=/tftpboot tftpip=10.2.1.1 702.zip 703.zip
				 : java -jar GbtUtility-2.1.76.jar update bios 702.zip 703.zip
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 update bios path=/root tftpip=10.2.1.1 /home/user/304.zip
				 : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 update bios auto /home/user/304.zip
				 : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 update bios backupimg /home/user/304.zip
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 update bios path=tmp tftpip=10.2.1.1 505.zip
				 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 update bios /home/user/304.zip
				 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 update bios auto /home/user/304.zip
*************************************************************************************************************************************
3.19.3	cpld
	usage	: java -jar GbtUtility-2.1.76.jar [options] update cpld <bpb | mb> [auto] [tftpip="IP"] [path="Path"] <FW packages ...>

	<bpb | mb | scm>	 : bpb means backplane board CPLD, mb means motherboard CPLD, scm means G-SCM board CPLD.

	[auto]			 : Do you want to continue main update process automatically after found the suitable FW package
	(optional)		   without ask your permission. If you want, set "auto" into command line arguments.

	[tftpip="IP"]		 : Apply the IP address from your current machine's network interfaces for TFTP server usage.
	(optional)		   If you don't apply this optional argument. GbtUtility will detect all network interfaces
				   on your current machine and pick one IP address up from them which closest the target BMC IP address.
				   (Notice auto detect pick up solution of support IPv4. If your network environment is IPv6,
				   you must apply this argument)

	[port="Port"]		 : Apply the TFTP port which TFTP server will use. If you don't apply this optional argument, GbtUtiliy
				   will use port 69 as default value.

	[path="Path"]		 : Apply the TFTP server root path for update process, If you don't apply this argument, GbtUtility
	(optional)		   will auto open the TFTP server service and used it for update process to transfer the FW image
				   to remote BMC. If you apply this arguments which means you used the own TFTP server service
				   applications on your currents machine and allocate the root path for it.

	[ct="Timeout"]		 : Apply the connection timeout for REST update command (millisecond).
	(optional)
	
	[rt="Timeout"]		 : Apply the read timeout for REST update command (millisecond).
	(optional)
	
	<FW packages ...>	 : CPLD update firmware packages.
				   (Note: Firmware packages must be contains .rcu file and release note)

	Example	:
		  by node list (default)	 : java -jar GbtUtility-2.1.76.jar update cpld bpb auto rt=300000 ct=5000000 path=/root/tftpboot/ tftpip=10.2.1.1 /home/CBP10A1_170824_R0A_0x1BBD.zip
		  by node list (specified)	 : java -jar GbtUtility-2.1.76.jar -L ./nodelist update cpld bpb auto path=/root/tftpboot/ tftpip=10.2.1.1 /home/CBP10A1_170824_R0A_0x1BBD.zip
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 update cpld scm /home/user/CBP10A1_170824_R0A_0x1BBD.zip
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 update cpld bpb auto /home/user/CBP10A1_170824_R0A_0x1BBD.zip
*************************************************************************************************************************************
3.19.4	psu
	usage	: java -jar GbtUtility-2.1.76.jar [options] update psu [auto] [tftpip="IP"] [path="Path"] <FW packages ...>

	[auto]			 : Do you want to continue main update process automatically after found the suitable FW package
	(optional)		   without ask your permission. If you want, set "auto" into command line arguments.

	[tftpip="IP"]		 : Apply the IP address from your current machine's network interfaces for TFTP server usage.
	(optional)		   If you don't apply this optional argument. GbtUtility will detect all network interfaces
				   on your current machine and pick one IP address up from them which closest the target BMC IP address.
				   (Notice auto detect pick up solution of support IPv4. If your network environment is IPv6,
				   you must apply this argument)

	[port="Port"]		 : Apply the TFTP port which TFTP server will use. If you don't apply this optional argument, GbtUtiliy
				   will use port 69 as default value.

	[path="Path"]		 : Apply the TFTP server root path for update process, If you don't apply this argument, GbtUtility
	(optional)		   will auto open the TFTP server service and used it for update process to transfer the FW image
				   to remote BMC. If you apply this arguments which means you used the own TFTP server service
				   applications on your currents machine and allocate the root path for it.

	[ct="Timeout"]		 : Apply the connection timeout for REST update command (millisecond).
	(optional)
	
	[rt="Timeout"]		 : Apply the read timeout for REST update command (millisecond).
	(optional)
	
	<FW packages ...>	 : PSU update firmware packages.
				   (Note: Firmware packages only support .hex and must set at least one)

	Example	:
		  by node list (default)	 : java -jar GbtUtility-2.1.76.jar update psu auto rt=300000 ct=5000000 path=/root/tftpboot/ tftpip=10.2.1.1 /home/psuFW/XXXX.hex
		  by node list (specified)	 : java -jar GbtUtility-2.1.76.jar -L ./nodelist update psu auto path=/root/tftpboot/ tftpip=10.2.1.1 /home/psuFW/XXXX.hex
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 update psu auto /home/user/XXXX.hex
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 update psu /home/user/505.hex
*************************************************************************************************************************************
3.19.5	fpga
	usage	: java -jar GbtUtility-2.1.76.jar [options] update fpga [auto] <FW packages ...>

	[auto]			 : Do you want to continue main update process automatically after found the suitable FW package
	(optional)		   without ask your permission. If you want, set "auto" into command line arguments.

	[ct="Timeout"]		 : Apply the connection timeout for REST update command (millisecond).
	(optional)
	
	[rt="Timeout"]		 : Apply the read timeout for REST update command (millisecond).
	(optional)
	
	<FW packages ...>	 : PSU update firmware packages.
				   (Note: Firmware packages only support .zip and must set at least one)

	Example	:
		  by node list (default)	 : java -jar GbtUtility-2.1.76.jar update fpga auto rt=300000 ct=5000000 CG1_FW.zip
		  by node list (specified)	 : java -jar GbtUtility-2.1.76.jar -L ./nodelist update fpga CG1_FW.zip
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 update fpga CG1_FW.zip auto
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 update update fpga CG1_FW.zip
=====================================================================================================================================
3.20	ikvm				

	abstract: KVM function active
		
	usage	: java -jar GbtUtility-2.1.76.jar [options] ikvm
	
	ikvm function only support "option -H", if use Nodelist, will base on first ip.
		
	Example	:
		  by node list	 : java -jar GbtUtility-2.1.76.jar ikvm
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 ikvm
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.79,10.1.27.100 ikvm
=====================================================================================================================================
3.21	identify

	abstract: Control node panel identify light.

	usage	: java -jar GbtUtility-2.1.76.jar [options] identify <interval>	
	<interval>
	0		Turn off light.
	1-255		Turn on light with this interval(Unit: second)
			
	Example	:
		  by node list (default)	 : java -jar GbtUtility-2.1.76.jar identify 50
		  by node list (specified)	 : java -jar GbtUtility-2.1.76.jar -L ./nodelist identify 50
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 identify 0
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.79,10.1.27.100 identify 255
=====================================================================================================================================
3.22	mcinfo

	abstract: Get BMC information

	usage	: java -jar GbtUtility-2.1.76.jar [options] mcinfo
		
	Example	:
		  by node list (default)	 : java -jar GbtUtility-2.1.76.jar mcinfo
		  by node list (specified)	 : java -jar GbtUtility-2.1.76.jar -L ./nodelist mcinfo
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 mcinfo
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.79,10.1.27.100 mcinfo
=====================================================================================================================================
3.23    meversion
        
	abstract: Show BIOS ME version.

	usage	: java -jar GbtUtility-2.1.76.jar [options] meversion
		
	Example	:
		  by node list (default)	 : java -jar GbtUtility-2.1.76.jar meversion
		  by node list (specified)	 : java -jar GbtUtility-2.1.76.jar -L ./nodelist meversion
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 meversion
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.79,10.1.27.100 meversion
=====================================================================================================================================
3.24	userapp	

	abstract: Get BMC user account list or set BMC user account.

	usage	: java -jar GbtUtility-2.1.76.jar [options] userapp <set | list> [set args...]
*************************************************************************************************************************************
3.24.1	<set> :		Set BMC account including username, password and privilege to specify user ID.
	
	usage :		java -jar GbtUtility-2.1.76.jar [options] userapp set <username> <password> <id> <privilege>

	<username> :	Continuous US a to z string less than 16 chars
	<password> :	Continuous US a to z string less than 16 chars
	<id> :		Hexbyte type 0xnn or integer n, start at 0x03(3) and Maximum end at 0x0f(15)
	<privilege> :	Set user privilege level on LAN and Serial/Modem channel, level number as follow:
	callback :	level 0x01(1) = Callback
	user :		level 0x02(2) = User
	operator :	level 0x03(3) = Operator
	admin :		level 0x04(4) = Administrator
	Example :
		  by node list (default)   : java -jar GbtUtility-2.1.76.jar userapp set XXX password 5 admin
				   java -jar GbtUtility-2.1.76.jar userapp set XXX password 0x05 admin
		  by node list (specified)   : java -jar GbtUtility-2.1.76.jar -L ./nodelist userapp set XXX password 5 admin
				   java -jar GbtUtility-2.1.76.jar -L ./nodelist userapp set XXX password 0x05 admin
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 userapp set ABC password 6 user
				   java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 userapp set ABC password 0x06 user
		  by scan host   : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 userapp set XYZ password 3 operator
				   java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 userapp set XYZ password 0x03 operator
*************************************************************************************************************************************
3.24.2	<list> :	Get all user account (except password) from all available user IDs

	usage :		java -jar GbtUtility-2.1.76.jar [options] userapp list

	Example :
		  by node list (default)   : java -jar GbtUtility-2.1.76.jar userapp list
		  by node list (specified)   : java -jar GbtUtility-2.1.76.jar -L ./nodelist userapp list
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 userapp list
		  by scan host   : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.200 userapp list
	
	Notice :
		Result of Nodelist and scan IP will write in each IP Node log file.
		Ex: 10.1.27.79_userapp.log.
		Result of single results show on screen like as follow:
		
		User Account List:
		ID:  nmae:  (LAN)Status:  (LAN)Callin:  (LAN)Link Auth:  (LAN)IPMI Msg:  (LAN)Channel Priv:  (Serial)Status: ....
		2    admin    Enable   Available   Available   Available  Administrator  Enable   Available   Available ...
		3    ADMIN    Enable   Available   Available   Available  Administrator  Enable   Available   Available ...
		4    GIGABYTE Enable   Available   Available   Available  Administrator  Enable   Available   Available ...
		5    None     Disable  Unvailable  Unvailable   Available  NO ACCESS  Disable  Unvailable  Unvailable   ...
		6    None     Disable  Unvailable  Unvailable   Available  NO ACCESS  Disable  Unvailable  Unvailable   ...
					.
					.
					.
*************************************************************************************************************************************
3.24.3	<enable> :	Enable user and SOL service by given ID.

	usage :		java -jar GbtUtility-2.1.76.jar [options] userapp enable 5

	Example :
		  by node list (default)   : java -jar GbtUtility-2.1.76.jar userapp enable 3
		  by node list (specified)   : java -jar GbtUtility-2.1.76.jar -L ./nodelist userapp enable 3
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 userapp enable 2
		  by scan host   : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.200 userapp enable 5
*************************************************************************************************************************************
3.24.4	<disable> :	Disable user and SOL service by given ID.

	usage :		java -jar GbtUtility-2.1.76.jar [options] userapp disable 5

	Example :
		  by node list (default)   : java -jar GbtUtility-2.1.76.jar userapp disable 3
		  by node list (specified)   : java -jar GbtUtility-2.1.76.jar -L ./nodelist userapp disable 3
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 userapp disable 2
		  by scan host   : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.200 userapp disable 5
=====================================================================================================================================
3.25	smtp	(Not support AMI)
	
	abstract: BMC SMTP Email commands, including Sender Information, Destination Email Addresses, SMTP (email) Server Settings
		  and SMTP Authentication. You can used following command format to set above four options.
	usage	:
		  java -jar GbtUtility-2.1.76.jar [options] smtp set info <your information>
		  java -jar GbtUtility-2.1.76.jar [options] smtp set email <Alert Number> <on|off> <destination addr> <description>
		  java -jar GbtUtility-2.1.76.jar [options] smtp set server <port> <server IP>
		  java -jar GbtUtility-2.1.76.jar [options] smtp set auth <on|off> <username> <password> <STARTTLS Mode> <SASL Mode>
		  java -jar GbtUtility-2.1.76.jar [options] smtp get <info | email | server | auth>
	
*************************************************************************************************************************************
3.25.1	Set commands arguments details	:
	"info"			 : Set sender information
	<your information>	 : Write SMTP sender information.
	Example :
		  by node list (default)	 : java -jar GbtUtility-2.1.76.jar smtp set info MergePoint-EMS@gigabyte.intra
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 smtp set info MergePoint-EMS@gigabyte.intra
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 smtp set info MergePoint-EMS@gigabyte.intra

	"email"			 : Set email destination you want to send message. There are four different destination you can set.
		  		   Alert Number from 1 to 4.
	<Alert Number>		 : Number of email destination as same as BMC Web.
	<on|off>		 : Enable or disable this email destination.
	<destination addr>	 : Destination email address.
	<description>		 : Email description (subject).
	<ipv4|ipv6>		 : Set destination email address is Ipv4 or Ipv6 type.
	Example :
		  by node list	 : java -jar GbtUtility-2.1.76.jar smtp set email 1 on example@mail.com MergePoint ipv4
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 smtp set email 2 off example@mail.com MergePoint ipv6
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 smtp set email 3 on example@mail.com MergePoint ipv6

	"server" 		 : Set SMTP (email) Server
	<port>			 : SMTP server port.
	<server IP>		 : SMTP server IP address support IPv4 and IPv6.
	Example :
		  by node list	 : java -jar GbtUtility-2.1.76.jar smtp set server 5000 10.1.27.125
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 smtp set server 2345 10.1.27.125
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 smtp set server 1258 10.1.27.125

	"auth"			 : Set SMTP SMTP Authentication
	<on|off>		 : Enable or Disable the SMTP server
	<username>		 : Set SMTP server user account
	<password>		 : Set SMTP server password
	<STARTTLS Mode> 	 : There are 3 different STARTTLS Mode you can set as follow : auto, on, off
	<SASL Mode>		 : There are 5 different SASL mode you can set as follow : auto, plain, login, htlm, md5
	Example :
		  by node list	 : java -jar GbtUtility-2.1.76.jar smtp set auth on GIGABYTE password auto md5
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 smtp set auth off GIGABYTE password off md5
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 smtp set auth on GIGABYTE password on htlm
*************************************************************************************************************************************
3.25.2	Get commands arguments details	:

	usage	:
		  java -jar GbtUtility-2.1.76.jar [options] smtp get <info | email | server | auth>

	Example :
		  by node list	 : java -jar GbtUtility-2.1.76.jar smtp get auth
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 smtp get info
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 smtp get email
=====================================================================================================================================
3.26	vmcli (Notice that vmcli command only support Unix systems right now) (Not support AMI)
	abstract: Connects to the Avocent Protocol Server running on given BMC IP,and causes image file to be seen as a Virtual Media drive on that server.
		
        usage	: java -jar GbtUtility-2.1.76.jar [options] vmcli mount [port <number>] < [removable <file | device>] [floppy <file | device>] [cdrom <ISOfile | device>] >
		  java -jar GbtUtility-2.1.76.jar [options] vmcli umount
*************************************************************************************************************************************
3.26.1  mount : this sub command input args hints :
	[port <number>]                 : option for set port, if you do not set this option the default port is 2068.
	[removable <file | device>]     : option of mount removable device which located at local server. 
	[floppy <file | device>]        : option of mount floppy device or image file which located at local server.
	[cdrom <file | device>]         : option of mount CD/DVD device which located at local server.
	Example local iso image file:  
		   by node list	  : java -jar GbtUtility-2.1.76.jar vmcli mount cdrom media.iso 
		   by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 vmcli mount cdrom media.iso 
		   by scan IP     : java -jar GbtUtility-2.1.76.jar -S 10.1.27.1,10.1.27.150,Standard vmcli mount cdrom media.iso
	Example of mount removable device: 
		   by node list   : java -jar GbtUtility-2.1.76.jar vmcli mount removable /dev/sdb1
	Example of mount floppy device or image file: 
		   by node list   : java -jar GbtUtility-2.1.76.jar vmcli mount floppy /dev/fd0
		   by node list   : java -jar GbtUtility-2.1.76.jar vmcli mount floppy /home/filename.img
	Example of mount CD/DVD device: 
		   by node list   : java -jar GbtUtility-2.1.76.jar vmcli mount cdrom /dev/cdrom
	Example of mount device or image file and given port: 
		   by node list   : java -jar GbtUtility-2.1.76.jar vmcli mount port 1234 floppy /home/filename.img
	Example of mount muti devices or image files and given port: 
		   by node list   : java -jar GbtUtility-2.1.76.jar vmcli mount port 2068 cdrom ubuntu.iso floppy /dev/fd0
		   by node list   : java -jar GbtUtility-2.1.76.jar vmcli mount port 2068 removable /dev/sdb1 floppy /dev/fd0
		   by node list   : java -jar GbtUtility-2.1.76.jar vmcli mount port 2068 floppy /dev/fd0\n removable /dev/sdb1 cdrom /dev/cdrom
*************************************************************************************************************************************
3.26.2  unmount : no arguments
	Example :
		  by node list	 : java -jar GbtUtility-2.1.76.jar vmcli unmount
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 vmcli unmount
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 vmcli unmount
=====================================================================================================================================
3.27	ntp	(Not support AMI)
			
	abstract: NTP configurations command.
		
	usage	: java -jar GbtUtility-2.1.76.jar ntp <set | get> [args...]
*************************************************************************************************************************************
3.27.1
	<get>	: Get NTP configuration.

	usage	: java -jar GbtUtility-2.1.76.jar ntp get

	Example : 
		  by node list	 : java -jar GbtUtility-2.1.76.jar ntp get
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.1.21 ntp get
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 ntp get
*************************************************************************************************************************************
3.27.2
	<set>	: Set NTP configuration.

	usage	: java -jar GbtUtility-2.1.76.jar ntp set <mode> [server1=...] [server2=...] [server3=...] [freq=...] [tsm=...]
	
	<mode>	: NTP operation mode. (disable, daemon, requested)
	[server1=...] : Set server 1 host address. (when set daemon or requested mode)
	[server2=...] : Set server 2 host address. (when set daemon or requested mode)
	[server3=...] : Set server 3 host address. (when set daemon or requested mode)
	[freq=...]    : Set request update frequency. (when set requested mode must set this tirm)
	[tsm=...]     : Set request time synchronization method. (when set requested mode must set this tirm)
			The "tsm=" allows step or slew mode.
	
	Example :
		  by node list	 : java -jar GbtUtility-2.1.76.jar ntp set requested server1=xxx.com 
				   server2=yyy.com server3=zzz.com freq=20 tsm=slew
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.1.21 ntp set daemon server1=xxx.com server2=yyy.com
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 ntp set disable
=====================================================================================================================================
3.28	bmcutil :	(Not support AMI)

	abstract: BMC OEM commands and web utilities

	usage	: java -jar GbtUtility-2.1.76.jar [options] bmcutil <reboot|prtsc|backup|...>

*************************************************************************************************************************************
														
3.28.1  reboot  : Reboot BMC by given BMC IPs. This option without any arguments.
	usage   : java -jar GbtUtility-2.1.76.jar [options] bmcutil reboot
	Example :
		  by node list	 : java -jar GbtUtility-2.1.76.jar bmcutil reboot
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 bmcutil reboot
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 bmcutil reboot
*************************************************************************************************************************************
															
3.28.2  prtsc   : Upload Last Crash Screen by https request, and download print screen as .png images
		  of servers by given BMC IPs. The download images would be store at given <path>.
	<path>	: The storage path of downloaded images
	usage   : java -jar GbtUtility-2.1.76.jar [options] bmcutil prtsc <path>
	Example :
		  by node list	 : java -jar GbtUtility-2.1.76.jar bmcutil prtsc /home/pictures
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 bmcutil prtsc /home/pictures
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 bmcutil prtsc /home/pictures
*************************************************************************************************************************************

3.28.3  backup	: Download BMC Configuration as backup file at given download path.
	<path>	: The backup file download path of downloaded BMC configuration.
	usage   : java -jar GbtUtility-2.1.76.jar [options] bmcutil backup <path>
	Example :
		  by node list	 : java -jar GbtUtility-2.1.76.jar bmcutil backup /home/backupfiles
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 bmcutil  backup /home/backupfiles
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 bmcutil  backup /home/backupfiles
*************************************************************************************************************************************
3.28.4  restore	: Restore BMC Configuration by given configuration file.
	<file>	: The backup file whcih used to restore BMC configuration.
	usage   : java -jar GbtUtility-2.1.76.jar [options] bmcutil restore <file>
	Example :
		  by node list	 : java -jar GbtUtility-2.1.76.jar bmcutil restore BMCconfig.bin
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 bmcutil  restore BMCconfig.bin
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 bmcutil  restore BMCconfig.bin
*************************************************************************************************************************************
3.28.5  phyinfo	: Download BMC 2U JBOD PHY information JSON file.
	<path>	: The PHY information JSON file download path.
	usage   : java -jar GbtUtility-2.1.76.jar [options] bmcutil phyinfo <path>
	Example :
		  by node list	 : java -jar GbtUtility-2.1.76.jar bmcutil phyinfo /home/list
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 bmcutil phyinfo /home/list
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 bmcutil phyinfo /home/list
*************************************************************************************************************************************
3.28.6  bsexport: Export BIOS setup menu as JSON file from BMC.
	<path>	: download path.
	usage   : java -jar GbtUtility-2.1.76.jar [options] bmcutil bsexport <path>
	Example :
		  by node list	 : java -jar GbtUtility-2.1.76.jar bmcutil bsexport /home
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 bmcutil bsexport /home
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 bmcutil bsexport /home
*************************************************************************************************************************************
3.28.7  bsimport: Import JSON file of BIOS setup menu to remote BMC.
	<file>	: BIOS setup menu JSON file.
	usage   : java -jar GbtUtility-2.1.76.jar [options] bmcutil bsimport <file>
	Example :
		  by node list	 : java -jar GbtUtility-2.1.76.jar bmcutil bsimport /home/SetupDecode-10.2.1.15.json
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 bmcutil bsimport /home/SetupDecode-10.2.1.15.json
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 bmcutil bsimport /home/Setup.json
*************************************************************************************************************************************
3.28.8  getsmarthdd: Get JSON file of get smartHDD & RAID information.
	<path>	: download path.
	usage   : java -jar GbtUtility-2.1.76.jar [options] bmcutil getsmarthdd <path>
	Example :
		  by node list	 : java -jar GbtUtility-2.1.76.jar bmcutil getsmarthdd /home
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 bmcutil getsmarthdd /home
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 bmcutil getsmarthdd /home
*************************************************************************************************************************************
3.28.9	caupload:	Upload CA file and update.
	<CAFile> : CA file (only for vertiv, and subfileame is crt)
	usage   : java -jar GbtUtility-2.1.76.jar [options] bmcutil caupload <CAFile>
	Example :
		  by node list	 : java -jar GbtUtility-2.1.76.jar bmcutil caupload cafile.crt
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 bmcutil caupload cafile.crt
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 bmcutil caupload cafile.crt
*************************************************************************************************************************************
3.28.10	fanprofile:	Upload fan profile.
	<fanprofile path> : fan profile json file(only for vertiv)
	usage   : java -jar GbtUtility-2.1.76.jar [options] bmcutil fanprofile <fanprofile path>
	Example :
		  by node list	 : java -jar GbtUtility-2.1.76.jar bmcutil fanprofile fanProfile_vertiv.json
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 bmcutil fanprofile fanProfile_vertiv.json
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 bmcutil fanprofile fanProfile_vertiv.json
*************************************************************************************************************************************
3.28.11	showfanprofile:	Show up all fan profiles.
	usage   : java -jar GbtUtility.jar [options] bmcutil showfanprofile
	Example :
		  by node list	 : java -jar GbtUtility-2.1.76.jar bmcutil showfanprofile
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 bmcutil showfanprofile
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 bmcutil showfanprofile
*************************************************************************************************************************************
3.28.12	runfanprofile:	Execute fan profile.
	<fanprofile Name> : fan profile name
	usage   : java -jar GbtUtility.jar [options] bmcutil runfanprofile <fanprofile Name>
	Example :
		  by node list	 : java -jar GbtUtility-2.1.76.jar bmcutil runfanprofile NEW_PROFILE
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 bmcutil runfanprofile NEW_PROFILE
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 bmcutil runfanprofile NEW_PROFILE
=====================================================================================================================================
3.29	gpufan	(Not support AMI)

	abstract: Get or set GPU fan policy.

	usage	: java -jar GbtUtility-2.1.76.jar [options] gpufan <get|set> <policy ID>
	<get>		: Get GPU fan policy ID
	<set>		: Set GPU fan policy ID
	<policy ID>	: GPU fan policy ID (doen't need when getting policy ID)
			0 : Depend on SKU data
			1 : Nvidia GTX1080 Titan
			2 : Nvidia GTX980
			3 : Nvidia M2000 x 8
			4 : Nvidia M2000 x 12
			5 : RX480
			6 : K2200

	Example	:
		  by node list	 : java -jar GbtUtility-2.1.76.jar gpufan get
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 gpufan get
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 gpufan set 1
=====================================================================================================================================
3.30	multinode

	abstract: Send command to CMC and get its response.
	
	usage	: java -jar GbtUtility-2.1.76.jar multinode 
		
	1.layout : Get information of all nodes which managed by CMC (inlcudes "position", "BMC IP", "BMC MAC...etc").
	Example :
		  by node list	 : java -jar GbtUtility-2.1.76.jar multinode 
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 multinode 
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S 10.1.27.1,10.1.27.150,multinode multinode
=====================================================================================================================================
3.31	mac

	abstract: Get Data LAN MAC list by BMC.

	usage	: java -jar GbtUtility-2.1.76.jar [options] mac <group ID | all>
		<group ID>	:	Group ID number (From 0 to 7).
		<all>		:	Set command to retrieve all groups MAC list
					(only support Purley, AMD, Cavium)
	Example	:
		  by node list	 : java -jar GbtUtility-2.1.76.jar mac 0
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 mac all
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 mac 5
=====================================================================================================================================
3.32    redfish

	abstract: Redfish service API command.

	usage	: java -jar GbtUtility-2.1.76.jar [options] redfish <apiNmae> <apiOpt> [port=num] [args...]

	[options]	: GbtUtility command options.
		-H	: Single host of BMC IP address.
		-S	: Scan the BMC IP addressses by RMCP or SSDP protocol.
		-U	: Set BMC IPMI username. (use default value when user doesn't provide)
		-P	: Set BMC IPMI password. (use default value when user doesn't provide)
		-RU	: Set BMC Redfish username. (use default value when user doesn't provide)
		-RP	: Set BMC Redfish password. (use default value when user doesn't provide)
		-h	: Print help messages of GbtUtility command usage.
	<apiNmae>	: Redfish API names in GbtUtility.
	<apiOpt>	: Redfish API options of given "<apiNmae>".
	[port=num]	: The port number of Redfish service API. (If needed, vertiv Redfish solutions at 8080)
	[args...]	: The rest arguments of each Redfish API. (If needed)

	* The menu of Redfish API names as follows :

	01.	accountservice	:	The properties are common to all user accounts, such as password requirements.
	02.	bios		:	Actions for changing to BIOS settings.
	03.	chassis		:	Chassis contains system reset action, identify LED settings.
	04.	ethernet	:	Represents a single, logical ethernet interface or network interface controller (NIC).
	05.	eventservice	:	Managing event subcriptions and generates the events sent to subscribers.
	06.	jsonschemas	:	The JSON Schema File resource data.
	07.	logservice	:	Log service settings, system, SEL ...
	08.	managers	:	System manager resource (Ex : BMC) control some actions and settings.
	09.	memory		:	Memory information and settings.
	10.	networkprotocol	:	Network protocol settings of manager.
	11.	power		:	Power device, supply information.
	12.	processors	:	Processors information.
	13.	raw		:	The raw direct request to Redfish service API.
	14.	registries	:	Show systems registries information.
	15.	roles		:	The roles information of account.
	16.	secureboot	:	The secure boot settings and actions.
	17.	serial		:	The serial interfaces settings and actions.
	18.	session		:	Session service information.
	19.	systems		:	Systems represents a general purpose machine. Ex : boot options, system reset actions.
	20.	taskservice	:	Task information itself and has links to the actual collection of Task resources.
	21.	thermal		:	It represents the properties for Temperature and Cooling.
	22.	updateservice	:	Do simple update and get update action info.

	* About using redfish command to change BIOS setup menu, please refer to "GIGABYTE Remote BIOS Setup User Guide.docx".

***************************************************************************************************************************************
3.32.1	accountservice	: Redfish account service API.

	usage		: java -jar GbtUtility-2.1.76.jar [options] redfish accountservice
			  <get | list | add | modify | delete | info | config | pamconfig> [args...]

1.	<get>		: Get single account information.
	<id>		: The ID number of account in members of accounts collection.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish accountservice get <id>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish accountservice get 1
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish accountservice get 2
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish accountservice get 3

2.	<list>		: Show all accounts in the members of accounts collection.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish accountservice list
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish accountservice list
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish accountservice list
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish accountservice list

3.	<add>		: Add new manager account to BMC for Redfish service API.
	<jsonFile>	: The json data of new account. For example:

			  {
				"UserName" : "GIGABYTE",
				"Password" : "your password",
				"RoleId" : "Administrator",
				"Enabled" : true,
				"Locked" : false
			  }

			  * More details description about manager account properties, please see :
			  http://redfish.dmtf.org/schemas/v1/ManagerAccount.v1_0_3.json#/definitions/ManagerAccount

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish accountservice add <jsonFile>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish accountservice add examples/redfish/account_add.json
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish accountservice add examples/redfish/account_add.json
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish accountservice add examples/redfish/account_add.json

4.	<modify>	: Modify the configurations of exist account resource.
	<id>		: The ID number of account resource which you want to change something properties.
	<jsonFile>	: The json data of new account. The properties that available to change
			  as same as <add> option's examples.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish accountservice modify <id> <jsonFile>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish accountservice modify 1 examples/redfish/account_modify.json
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish accountservice modify 2 examples/redfish/account_modify.json
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish accountservice modify 3 examples/redfish/account_modify.json

5.	<delete>	: Delete the exist account resource.
	<id>		: The ID number of account resource which you want to delete.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish accountservice delete <id>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish accountservice delete 1
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish accountservice delete 2
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish accountservice delete 3

6.	<info>		: Show account service configuration.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish accountservice info
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish accountservice info
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish accountservice info
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish accountservice info

7.	<config>	: Modify account service configuration.
	<jsonFile>	: The json data of account service configuration. For example:

			  {
				"AccountLockoutCounterResetAfter": 31,
				"AccountLockoutDuration": 31,
				"AccountLockoutThreshold": 6,
				"AuthFailureLoggingThreshold": 5,
				"ServiceEnabled": true
			  }

			  * More details description about account service properties, please see :
			  http://redfish.dmtf.org/schemas/v1/AccountService.v1_1_1.json#/definitions/AccountService

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish accountservice config <jsonFile>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish accountservice config examples/redfish/account_config.json
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish accountservice config examples/redfish/account_config.json
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish accountservice config examples/redfish/account_config.json

8.	<pamconfig>	: Modify account service PAM configuration. (Not support vertiv)
	<jsonFile>	: The json data of account service PAM configuration. For example:

			  {
				"PAMEnabled" : true,
				"PAMOrder" : [
					"IPMI",
					"LDAP",
					"RADIUS",
					"ACTIVE DIRECTORY"
				]
			  }

			  * Note : "PAMOrder" need all 4 elements and you can change the order ot them.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish accountservice pamconfig <jsonFile>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish accountservice pamconfig examples/redfish/account_pamconfig.json
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish accountservice pamconfig examples/redfish/account_pamconfig.json
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish accountservice pamconfig examples/redfish/account_pamconfig.json

9.	<paminfo>	: Show account service PAM configuration. (Not support vertiv)

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish accountservice paminfo
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish accountservice paminfo
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish accountservice paminfo
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish accountservice paminfo
***************************************************************************************************************************************
3.32.2	bios		: Redfish BIOS API.(Not support vertiv)

	usage		: java -jar GbtUtility-2.1.76.jar [options] redfish bios <info|sd|reset|password> [ID] [args...]

	[ID]		: The system resource ID in Redfish system collection (default will choose the first ID).

1.	<info>		: Show BIOS resource information.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish bios info [ID]
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish bios info Self
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish bios info
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish bios info

2.	<sd>		: BIOS menu setting.
	<get|post>	: Get/Set values of BIOS menu which will be set after the next boot.
	<json>		: The JSON data of BIOS menu setting which you want to set. (only available when "post")

	*1. Before post sd.json, please get current values of BIOS menu first, you can refer to 3.32.2-1 <info>.
	*2. If you want to know every avaliable values of registries, please refer to 3.32.14 registries to get BIOS registries information.
	*3. About the format of sd.json, you can refer to examples/redfish/bios_sd.json

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish bios sd get [ID]
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish bios sd get Self
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish sd get
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish bios sd get

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish bios sd post [ID] <json>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish bios sd post Self examples/redfish/bios_sd.json
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish sd post examples/redfish/bios_sd.json
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish bios sd post examples/redfish/bios_sd.json

3.	<reset>		: Reset BIOS menu to default.
	<reset_type>	: Reset type, only support "Reset" now.
	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish bios reset [ID] <reset_type>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish bios reset Self Reset
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish bios reset Reset
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish bios reset Reset

4.	<password>	: Change BIOS password.
	<json>		: The JSON data of BIOS password.

	*1. The value of "PasswordName" in password.json may different according to BIOS, please refer to 3.32.14 registries to get BIOS registries information.
	*2. You can find the "AttributeName" of "Administrator Password" and "User Password" in BIOS registries information.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish bios password [ID] <json>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish bios password Self examples/redfish/bios_password.json
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish bios password examples/redfish/bios_password.json
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish bios password examples/redfish/bios_password.json
***************************************************************************************************************************************
3.32.3	chassis		: Redfish chassis API.

	usage		: java -jar GbtUtility-2.1.76.jar [options] redfish chassis <info | identify | reset> [ID] [args...]

	[ID]		: The chassis resource ID in Redfish chassis collection (default will choose the first ID).

1.	<info>		: Show chassis resource information.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish chassis info [ID]
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish chassis info Self
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish chassis info
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish chassis info Self

2.	<identify>	: Chassis identify LED light setting.
	<jsonFile> : The LED light settings. The example of json body as:

			  {
				"IndicatorLED":"Lit"
			  }

			  The property of "IndicatorLED" allows "Blinking", "Off" and "Lit". (Blinking will Lit for 15 seconds and auto Off.)

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish chassis identify [ID] <jsonFile>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish chassis identify Self identify examples/redfish/chassis_identify.json
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish chassis identify examples/redfish/chassis_identify.json
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish chassis identify examples/redfish/chassis_identify.json

3.	<reset>		: Chassis reset action, It will load default values of Redfsih chassis resource.
	<jsonFile>	: The reset type of reset action. The example of json body as:

			  {
				"ResetType":"On"
			  }

			  The property of "ResetType" allows "On", "ForceOff", "GracefulShutdown" and "ForceRestart"

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish chassis reset [ID] <jsonFile>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish chassis reset Self examples/redfish/chassis_reset.json
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish chassis reset examples/redfish/chassis_reset.json
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish chassis reset examples/redfish/chassis_reset.json
***************************************************************************************************************************************
3.32.4	ethernet	: Redfish ethernet interfaces API.(Not support vertiv)

	usage		: java -jar GbtUtility-2.1.76.jar [options] redfish ethernet <list | get> [ID] [args...]

	[ID]		: The manager resource ID in Redfish managers collection (default will choose the first ID).

1.	<list>		: Show all ethernet interfaces in manager.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish ethernet list [ID]
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish ethernet list Self
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish ethernet list
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish ethernet list Self

2.	<get>		: Chassis identify LED light setting.
	<name>		: Ethernet interface name.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish ethernet get [ID] <name>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish ethernet get Self eth1
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish ethernet get usb0
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish ethernet get eth0
***************************************************************************************************************************************
3.32.5	eventservice	: Redfish event service API.(Not support vertiv)

	usage		: java -jar GbtUtility-2.1.76.jar [options] redfish eventservice
			  <info | list | modify | submit | get | add | delete> [args...]

1.	<info>		: Show event service information.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish eventservice info
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish eventservice info
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish eventservice info
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish eventservice info

2.	<list>		: Show all event destination in event service subscriptions collection.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish eventservice list
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish eventservice list
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish eventservice list
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish eventservice list

3.	<modify>	: Modify event service configurations.
	<jsonFile>	: The json data of event service configuration. For example:

			  {
				"ServiceEnabled": true
			  }

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish eventservice modify <jsonFile>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish eventservice modify examples/redfish/eventservice_config.json
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish eventservice modify examples/redfish/eventservice_config.json
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish eventservice modify examples/redfish/eventservice_config.json

4.	<submit>	: Submit test event type action.
	<jsonFile>	: The json data of test event types for action. For example:

			  {
				"EventType" : "Alert"
			  }

			  * Allowable event types : "StatusChange", "ResourceUpdated", "ResourceAdded",
						    "ResourceRemoved" and "Alert".

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish eventservice submit <jsonFile>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish eventservice submit examples/redfish/eventservice_submit.json
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish eventservice submit examples/redfish/eventservice_submit.json
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish eventservice submit examples/redfish/eventservice_submit.json

5.	<get>		: Get single event destination in event service subscriptions collection.
	<num>		: The number of the subscription.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish eventservice get <num>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish eventservice get 2
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish eventservice get 1
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish eventservice get 3

6.	<add>		: Add new event destination in event service subscriptions collection.
	<jsonFile>	: The json data of test event destination. For example:

			  {
				"Context" : "Test event destination of multiple event type",
				"Destination" : "https://www.xxx.com",
				"Description" : "Example test subscription of Redfish service API",
				"EventTypes" : [
					"Alert",
					"StatusChange",
					"ResourceUpdated"
				],
				"Name" : "GIGABYTE",
				"Protocol": "Redfish"
			  }

			  * "EventTypes" properties allowable values as same as the submit action.
			  More details of event destination see:
			  http://redfish.dmtf.org/schemas/v1/EventDestination.v1_1_1.json#/definitions/EventDestination

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish eventservice add <jsonFile>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish eventservice add examples/redfish/eventservice_add.json
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish eventservice add examples/redfish/eventservice_add.json
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish eventservice add examples/redfish/eventservice_add.json

7.	<delete>	: Delete exist event destination in event service subscriptions collection.
	<num>		: The number of the subscription.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish eventservice delete <num>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish eventservice delete 2
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish eventservice delete 1
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish eventservice delete 3
***************************************************************************************************************************************
3.32.6	jsonschemas	: Redfish json schemas API.(Not support vertiv)

	usage		: java -jar GbtUtility-2.1.76.jar [options] redfish jsonschemas <list| get> [args...]

1.	<list>		: Show all exist json schemas.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish jsonschemas list
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish jsonschemas list
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish jsonschemas list
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish jsonschemas list

2.	<get>		: Get a json schema full details data.
	<name>		: The json schema name.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish jsonschemas get <name>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish jsonschemas get Configurations.v1_0_0
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish jsonschemas get Configurations.v1_0_0
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish jsonschemas get Configurations.v1_0_0
***************************************************************************************************************************************
3.32.7	logservice	: Redfish log service API.(Not support vertiv)

	usage		: java -jar GbtUtility-2.1.76.jar [options] redfish logservice <tar> [ID] <list | get | modify | log | clear> [args...]

	<tar>		: Target resource type. The LogService located at "Managers", "Chassis" and "Systems" three main resources.
			  User need to choose the one of them. Allows values of <tar> : "manager", "chassis", "system".
	[ID]		: The resource ID in the "Managers", "Chassis" or "Systems" collection.
			  (default will choose the first ID in their collection)

1.	<list>		: Show all log service in the different main resources.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish logservice <tar> [ID] list
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish logservice manager Self list
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish logservice system list
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish logservice chassis Self list

2.	<get>		: Get a log service details information.
	<name>		: The log service resource name.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish logservice <tar> [ID] get <name>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish logservice system Self get BIOS
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish logservice chassis get Logs
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish logservice manager Self get SEL

3.	<modify>	: Modify a log service configurations.
	<name>		: The log service resource name.
	<json>		: The json data file of modification. For example:

			  {
				"DateTime" : "2018-07-30T17:20:17-05:00",
				"DateTimeLocalOffset" : "-05:00",
				"ServiceEnabled" : true
			  }

			  * More detials properties about LogService see:
			  http://redfish.dmtf.org/schemas/v1/LogService.v1_0_3.json#/definitions/LogService

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish logservice <tar> [ID] modify <name> <json>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish logservice system Self modify BIOS examples/redfish/logservice_config.json
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish logservice chassis modify Logs examples/redfish/logservice_config.json
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish logservice manager modify SEL examples/redfish/logservice_config.json

4.	<log>		: Get all log entries in given log service.
	<name>		: The log service resource name.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish logservice <tar> [ID] log <name>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish logservice system Self log BIOS
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish logservice chassis log Logs
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish logservice manager Self log SEL

5.	<clear>		: Clear all log entries in given log service.
	<name>		: The log service resource name.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish logservice <tar> [ID] clear <name>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish logservice system Self clear BIOS
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish logservice chassis clear Logs
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish logservice manager Self clear SEL
***************************************************************************************************************************************
3.32.8	managers	: Redfish manager API.(Not support vertiv)

	usage		: java -jar GbtUtility-2.1.76.jar [options] redfish managers <info | timeset | reset> [ID] [args]

	[ID]		: The manager resource ID in Redfish managers collection (default will choose the first ID).

1.	<info>		: Show managers service configuration.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish managers info [ID]
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish managers info Self
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish managers info
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish managers info

2.	<timeset>	: Set the time of the manager.
	<json>		: Manager time json data file.

			  {
				"DateTime" : "2018-08-09T09:32:03+08:00",
				"DateTimeLocalOffset": "+08:00"
			  }

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish managers get [ID] <json>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish managers timeset Self examples/redfish/manager_timeset.json
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish managers timeset Self examples/redfish/manager_timeset.json
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish managers timeset examples/redfish/manager_timeset.json

3.	<reset>		: Manager reset action, It will load default values of Redfsih manager resource.
	<jsonFile>	: The reset type of reset action. The example of json body as:

			  {
				"ResetType":"ForceRestart"
			  }

			  The property of "ResetType" only allows "ForceRestart"

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish managers reset [ID] <jsonFile>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish managers reset Self examples/redfish/manager_reset.json
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish managers reset Self examples/redfish/manager_reset.json
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish managers reset examples/redfish/manager_reset.json
***************************************************************************************************************************************
3.32.9	memory		: Redfish memory API.(Not support vertiv)

	usage		: java -jar GbtUtility-2.1.76.jar [options] redfish memory <list| get> [ID] [args...]

	[ID]		: The system resource ID in Redfish system collection (default will choose the first ID).

1.	<list>		: Show all exist memories.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish memory list [ID]
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish memory list Self
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish memory list
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish memory list

2.	<get>		: Get a memory details information.
	<memID>		: The memory resource ID.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish memory get [ID] <memID>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish memory get Self 2
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish memory get Self 10
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish memory get 5
***************************************************************************************************************************************
3.32.10	networkprotocol	: Redfish network protocol API.(Not support vertiv)

	usage		: java -jar GbtUtility-2.1.76.jar [options] redfish networkprotocol <get> [ID]

	[ID]		: The manager resource ID in Redfish managers collection (default will choose the first ID).

1.	<get>		: Get a networkprotocol details information.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish networkprotocol get [ID]
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish networkprotocol get Self
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish networkprotocol get Self
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish networkprotocol get
***************************************************************************************************************************************
3.32.11	power		: Redfish power API.

	usage		: java -jar GbtUtility-2.1.76.jar [options] redfish power <info|limit> [ID] [args...]

	[ID]		: The chassis resource ID in Redfish chassis collection (default will choose the first ID).

1.	<info>		: Show power resource information.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish power info [ID]
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish power info Self
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish power info
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish power info Self

2.	<limit>		: Set power limit setting.
	<json>		: Power limit setting JSON data.
	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish power limit [ID] <json>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish power limit Self examples/redfish/power_limit.json
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish power limit examples/redfish/power_limit.json
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish power limit Self examples/redfish/power_limit.json
***************************************************************************************************************************************
3.32.12	processors	: Redfish processors API.

	usage		: java -jar GbtUtility-2.1.76.jar [options] redfish processors <list | get> [ID] [args...]

	[ID]		: The system resource ID in Redfish systems collection (default will choose the first ID).

1.	<list>		: Show all processors resource members.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish processors list [ID]
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish processors list Self
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish processors list
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish processors list Self

2.	<get>		: Get processor details information.
	<num>		: Processor ID number.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish processors get [ID] <num>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish processors get Self 1
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish processors get 2
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish processors get Self 1
***************************************************************************************************************************************
3.32.13	raw		: Redfish raw API.

	usage		: java -jar GbtUtility-2.1.76.jar [options] redfish raw <get | post | patch | delete> <URI> [jsonFile]

	<URI>		: The Redfish resource URI.
	[jsonFile]	: The request json paylod for post or patch option.

1.	<get>		: HTTP GET method of Redfish resource URI.
	<URI>		: The target resource URI.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish raw get <URI>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish raw get /redfish/v1/AccountService/Accounts
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish raw get /redfish/v1/AccountService/Accounts
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish raw get /redfish/v1/AccountService/Accounts

2.	<post>		: HTTP POST method of Redfish resource URI.
	<URI>		: The target resource URI.
	<jsonFile>	: The file of post request entity.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish raw post <URI> <jsonFile>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish raw post /redfish/v1/AccountService/Accounts examples/redfish/account_add.json
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish raw post /redfish/v1/AccountService/Accounts examples/redfish/account_add.json
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish raw post /redfish/v1/AccountService/Accounts examples/redfish/account_add.json

3.	<patch>		: HTTP PATCH method of Redfish resource URI.
	<URI>		: The target resource URI.
	<jsonFile>	: The file of patch request entity.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish raw patch <URI> <jsonFile>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish raw patch /redfish/v1/AccountService examples/redfish/account_config.json
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish raw patch /redfish/v1/AccountService examples/redfish/account_config.json
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish raw patch /redfish/v1/AccountService examples/redfish/account_config.json

4.	<delete>	: HTTP DELETE method of Redfish resource URI.
	<URI>		: The target resource URI, which can delete.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish raw delete <URI>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish raw delete /redfish/v1/AccountService/Accounts/2
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish raw delete /redfish/v1/AccountService/Accounts/2
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish raw delete /redfish/v1/AccountService/Accounts/2
***************************************************************************************************************************************
3.32.14	registries	: Redfish registries API.(Not support vertiv)

	usage		: java -jar GbtUtility-2.1.76.jar [options] redfish registries <list| get> [args...]

1.	<list>		: Show all exist registries.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish registries list
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish registries list
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish registries list
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish registries list

2.	<get>		: Get a registry full details data.
	<name>		: The registry name.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish registries get <name>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish registries get Base.1.0.0
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish registries get Base.1.0.0
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish registries get Base.1.0.0
***************************************************************************************************************************************
3.32.15	roles		: Redfish roles API.

	usage		: java -jar GbtUtility-2.1.76.jar [options] redfish roles <list| get> [args...]

1.	<list>		: Show all exist roles.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish roles list
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish roles list
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish roles list
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish roles list

2.	<get>		: Get a role full details data.
	<name>		: The role name.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish roles get <name>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish roles get Administrator
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish roles get ReadOnly
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish roles get Operator
***************************************************************************************************************************************
3.32.16	secureboot	: Redfish secure boot API.(Not support vertiv)

	usage		: java -jar GbtUtility-2.1.76.jar [options] redfish secureboot <info|actioninfo|enable|disable|resetkey> [ID] [args...]

	[ID]		: The system resource ID in Redfish systems collection (default will choose the first ID).

1.	<info>		: Show secure boot resource information.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish secureboot info [ID]
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish secureboot info Self
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish secureboot info
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish secureboot info

2.	<actioninfo>	: Show allowed values of reset keys.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish secureboot actioninfo [ID]
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish secureboot actioninfo Self
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish secureboot actioninfo
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish secureboot actioninfo

3.	<enable>	: Enable secure boot function.

	** After command is complete, please power reset to make the configuration work.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish secureboot enable [ID]
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish secureboot enable Self
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish secureboot enable
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish secureboot enable

4.	<disable>	: Disable secure boot function.

	** After command is complete, please power reset to make the configuration work.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish secureboot disable [ID]
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish secureboot disable Self
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish secureboot disable
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish secureboot disable

5.	<resetkey>	: Manage secure boot key.
	<action>	: Action of manage keys.

	** Please according to the result of <actioninfo> to set value. (case-sensitive)
	** After command is complete, please power reset to make the configuration work.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish secureboot resetkey [ID] <action>
	
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish secureboot resetkey Self DeletePK
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish secureboot resetkey DeleteAllKeys
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish secureboot resetkeys ResetAllKeysToDefault
***************************************************************************************************************************************
3.32.17	serial		: Redfish serial interface API.(Not support vertiv)

	usage		: java -jar GbtUtility-2.1.76.jar [options] redfish serial <info | get> [ID] [args...]

	[ID]		: The manager resource ID in Redfish managers collection (default will choose the first ID).

1.	<list>		: Show all members of serial interfaces.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish serial list Self
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish serial list
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish serial list
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish serial list

2.	<get>		: Get single serial interface information.
	<name>		: The name of serial in members of serial interface collection.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish serial get [ID] <name>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish serial get Self IPMI-SOL
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish serial get IPMI-SOL
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish serial get IPMI-SOL
***************************************************************************************************************************************
3.32.18	session		: Redfish session API. (Not support vertiv)

	usage		: java -jar GbtUtility-2.1.76.jar [options] redfish session <info | modify | add | get | delete> [args...]

1.	<info>		: Show session service configuration.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish session info
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish session info
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish session info
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish session info

2.	<modify>	: Modify the configurations of session service. (Not support vertiv)
	<json>		: The json data of configurations of session service.

			  {
				"ServiceEnabled": true,
				"SessionTimeout": 300
			  }

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish session modify <json>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish session modify examples/redfish/system_modify.json
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish session modify examples/redfish/system_modify.json
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish session modify examples/redfish/system_modify.json

3.	<add>		: Add new session. (Not support vertiv)
	<json>		: The json data of new session. For example:

			  {
				"UserName": "Administrator",
				"Password": "superuser"
			  }

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish session add <json>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish session add examples/redfish/system_post.json
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish session add examples/redfish/system_post.json
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish session add examples/redfish/system_post.json

4.	<get>		: Get single session information. (Not support vertiv)
	<id>		: The ID number of session in members of sessions collection.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish session get <id>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish session get 1
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish session get 2
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish session get 3

5.	<delete>	: Delete the exist session resource. (Not support vertiv)
	<id>		: The ID number of session resource which you want to delete.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish session delete <id>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish session delete 1
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish session delete 2
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish session delete 3
***************************************************************************************************************************************
3.32.19	systems		: Redfish systems API.

	usage		: java -jar GbtUtility-2.1.76.jar [options] redfish systems <info | boot | reset | identify> [ID] [args...]

	[ID]		: The system resource ID in Redfish systems collection (default will choose the first ID).

1.	<info>		: Show systems resource information.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish systems info [ID]
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish systems info
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish systems info Self
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish systems info

2.	<boot>		: Set boot option of system.
	<list|get>	: Get content of single bios option or list all bios options.
	<json>		: The json data contains boot option data. We have two format:

			  Set single boot option to override:
			  {
				"Boot" : {
					"BootSourceOverrideEnabled": "Once",
					"BootSourceOverrideMode": "UEFI",
					"BootSourceOverrideTarget": "Pxe"
				}
			  }

			  Or set boot options array to change BIOS setup menu.

			  {
	 			"Boot": {
	    				"BootOrder": [
            					"Boot0001",
            					"Boot0005",
            					"Boot0003",
            					"Boot0004",
            					"Boot0002"
        				]
	 			}
			  }

			  * The boot option properties details description please see:
			  http://redfish.dmtf.org/schemas/v1/ComputerSystem.v1_3_0.json#/definitions/ComputerSystem
			  (Note: "Diags" is not support now)

	(List BIOS options)
	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish systems boot list
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish systems boot list
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish systems boot list
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish systems boot list

	(Get sinlge BIOS option)
	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish systems boot get 0001
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish systems boot get 0001
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish systems boot get 0001
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish systems boot get 0001

	(Patch BIOS options)
	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish systems boot <json>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish systems boot examples/redfish/system_boot.json
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish systems boot examples/redfish/system_boot.json
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish systems boot examples/redfish/system_boot.json

3.	<reset>		: System reset action, It will load default values of Redfsih system resource.
	<json>		: The reset type of reset action. The example of json body as:

			  {
				"ResetType":"On"
			  }

			  The property of "ResetType" allows "On", "ForceOff", "GracefulShutdown", and "ForceRestart"

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish systems reset [ID] <json>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish systems reset Self examples/redfish/system_reset.json
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish systems reset examples/redfish/system_reset.json
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish systems reset examples/redfish/system_reset.json

4.	<identify>	: System identify LED light setting.(Not support vertiv)
	<json>		: The LED light settings. The example of json body as:

			  {
				"IndicatorLED":"Lit"
			  }

			  The property of "IndicatorLED" allows "Blinking", "Off" and "Lit".

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish systems identify [ID] <json>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish systems identify Self examples/redfish/system_identify.json
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish systems identify examples/redfish/system_identify.json
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish systems identify examples/redfish/system_identify.json
***************************************************************************************************************************************
3.32.20	taskservice	: Redfish task service API.

	usage		: java -jar GbtUtility-2.1.76.jar [options] redfish taskservice <info> [args...]

1.	<info>		: Show task service information.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish taskservice info
	by nodefan	: java -jar GbtUtility-2.1.76.jar redfish taskservice info
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish taskservice info
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish taskservice info

***************************************************************************************************************************************
3.32.21	thermal		: Redfish thermal API.

	usage		: java -jar GbtUtility-2.1.76.jar [options] redfish thermal <fan | temp> [ID] [args...]

	[ID]		: The chassis resource ID in Redfish chassis collection (default will choose the first ID).

1.	<fan>		: Show all fans sensor information.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish thermal fan [ID]
	by nodefan	: java -jar GbtUtility-2.1.76.jar redfish thermal fan Self
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish thermal fan
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish thermal fan Self

2.	<temp>		: Show all temperatures sensor information.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish thermal temp [ID]
	by nodefan	: java -jar GbtUtility-2.1.76.jar redfish thermal temp Self
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish thermal temp
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish thermal temp Self
***************************************************************************************************************************************
3.32.22	updateservice	: Redfish update service API.

	usage		: java -jar GbtUtility-2.1.76.jar [options] redfish updateservice <info | update> [args...]

1.	<info>		: Show simple update action info spec.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish updateservice info
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish updateservice info
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish updateservice info
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish updateservice info

2.	<update>	: Do simple update.
	<json>		: The json data contains simple update action:

			  {
				"ImageURI" : "ftp://10.1.27.50/pub/F24.RBU",
				"TransferProtocol": "FTP",
				"UpdateComponent": "BIOS"
			  }

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish updateservice update <json>
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish updateservice update examples/redfish/simpleupdateinfo.json
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish updateservice update examples/redfish/simpleupdateinfo.json
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish updateservice update examples/redfish/simpleupdateinfo.json

3.	<progress>	: Get simple update progress.

	Example		: java -jar GbtUtility-2.1.76.jar [options] redfish updateservice progress
	by nodelist	: java -jar GbtUtility-2.1.76.jar redfish updateservice progress
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 -U admin -P password -RU admin -RP password redfish updateservice progress
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.2.1.1,10.2.1.100 -U admin -P password -RU admin -RP password redfish updateservice progress
=====================================================================================================================================
3.33	rest	(Only support AMI)

	abstract	: BMC REST service API.

	usage		: java -jar GbtUtility-2.1.76.jar [options] rest <name> <restopt> [jfiles...] [ufiles...]

	[options]	: GbtUtility command options.
		-H	: Single host option.
		-S	: Scan the BMC IP addresss by RMCP or SSDP.
		-U	: Set BMC REST session username.
		-P	: Set BMC REST session password.
		-h	: Print help messages.

	<service>	: REST service names.
	<restopt>	: REST service options.
	[jfiles]	: The JSON format txt files of REST service request payload. 
	[ufiles]	: The upload file of REST service request for execute some applications.

	* The supported service names as follows :

	1.  audit	: 	Get BMC audit information.
	2.  smtp	:	Get or set smtp configurations.
	3.  ldapgeneral	:	Get or set general LDAP configurations.
	4.  ldapgroup	:	Get or set group LDAP configurations.
	5.  ipv6	:	Get or set ipv6 configurations.
	6.  vmcli	:	Virtual media redirection configurations service.
	7.  loaddefault	:	Load BMC default configurations.
	8.  pef		:	Set server platform event filter.
	9.  trap	:	Set server trap IP addresses.
	10. dns		:	DNS configurations service.
	11. backup	:	Retrieve information about the configuration and download as backup file.
	12. preserve	:	Preserve configurations of BMC configurations after update firmware.
	13. ntp		:	NTP configuration service.
	14. aduser	:	Get or set active directory configurations.
	15. adgroup	:	Get or set active directory role group configurations.
	16. smbios	:	Get SMBIOS information.
	17. biosmenu	:	Download or upload BIOS setup menu.
	18. raid	:	Get the raid configurations.
	19. ca		:	Upload CA file and update.
	20. fanprofile	:	Get,upload and execute fan profile
	21. pamorder	:	Set or get PAM configurations of BMC.
	22. vmedia	:	Mount ISO image to remote BMC as virtual media.
	23. nodeinfo	:	Get BMC node information. (only for CMC)
	24. gpuinfo	:	Get GPU information.
	25. fpgainfo	:	Get FPGA information.
	26. nvswitchinfo:	Get NVSwitch information.
*************************************************************************************************************************************
3.33.1	audit			get audit information
	usage: java -jar GbtUtility-2.1.76.jar [options] rest audit get
	
	Example:
	by node list  : java -jar GbtUtility-2.1.76.jar rest audit get
	by single IP : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest audit get
	by scan IP   : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 rest audit get
*************************************************************************************************************************************
3.33.2	smtp			get/input smtp information
	usage: java -jar GbtUtility-2.1.76.jar [options] rest smtp	<get|set> jsonfilePath<only set>
	get					get smtp information
	set					input smtp information by sending json file
	jsonfilePath		the json file path of smtp information <only set need>
	
	Example:
	by node list  : java -jar GbtUtility-2.1.76.jar rest smtp get
	by single IP : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest smtp	set smtpInfo.json
	by scan IP   : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 rest smtp get
*************************************************************************************************************************************
3.33.3	ldapgeneral			get/input ldap settings information
	usage: java -jar GbtUtility-2.1.76.jar [options] rest ldapgeneral	<get|put> jsonfilePath<only put>
	get					get ldap settings information
	put					input ldap settings information by sending json file
	jsonfilePath		the json file path of ldap settings information <only put need>
	
	ps. Before put ldapgeneral, Please check your ldapgroup setting

	Example:
	by Nodelist  : java -jar GbtUtility-2.1.76.jar rest ldapgeneral get
	by single IP : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest ldapgeneral	put ldapsettings.json
	by scan IP   : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 rest ldapgeneral	get
*************************************************************************************************************************************
3.33.4	ldapgroup			get/input ldap settings information
	usage: java -jar GbtUtility-2.1.76.jar [options] rest ldapgroup	<get|put> jsonfilePath<only put>
	get					get ldap Role Group information
	put					input ldap Role Group information by sending json file
	jsonfilePath		the json file path of ldap Role Group information <only put need>
	
	Example:
	by node list  : java -jar GbtUtility-2.1.76.jar rest ldapgroup get
	by single IP : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest ldapgroup	put ldapgroup.json
	by scan IP   : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 rest ldapgroup	get	
*************************************************************************************************************************************
3.33.5	ipv6	: Set enable/disable node ipv6, Get node ipv6 information
	usage: java -jar GbtUtility-2.1.76.jar [options] rest ipv6 <get|put> ipv6Jsonfile<put only> 
	
	Example:
	by node list  : java -jar GbtUtility-2.1.76.jar rest ipv6 get
	by single IP : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest ipv6 put ipv6.json
	by scan IP   : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 rest ipv6 get
*************************************************************************************************************************************
3.33.6	vmcli	:	Get/set general media redirection options. 
					Set virtual media mount and umount. Support CD/ROM,
					floppy, removable images or devices as vertual media to remote node server of given bmc IPs.
					Get virtual information.
		
	<Note> The all steps please see GbtUtility command line SOP v0.11.docx
		
	usage: java -jar GbtUtility-2.1.76.jar [options] rest vmcli <get | set | imagelist | medialist | mount | unmount> [json file]

	<get>		   : Get vmcli configuration.
	<set> <*.json>	   : Set vmcli configuration by given json file.
	<imagelist>		   : List vmcli image list.
	<medialist>		   : List vmcli media list.
	<mount> <*.json>   : Mount image to remote BMC by given config json file of image.
	<unmount> <*.json> : Unmount image to remote BMC by given config json file of image.

	Example:
	by Nodelist	: java -jar GbtUtility-2.1.76.jar rest vmcli get
	by single IP	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest vmcli set vmcli.json
			  java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest vmcli mount vmclimount.json
			  java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest vmcli unmount vmclimount.json
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 rest vmcli imagelist
				  java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 rest vmcli medialist
*************************************************************************************************************************************
3.33.7	loaddefault Load default to mass nodes.(load to bmc)
	usage: java -jar GbtUtility-2.1.76.jar [options] rest loaddefault
	
	Example:
	by node list  : java -jar GbtUtility-2.1.76.jar rest loaddefault
	by single IP : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest loaddefault
	by scan IP   : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 rest loaddefault
*************************************************************************************************************************************
3.33.8	pef	:	Node platform event filter
	usage: java -jar GbtUtility-2.1.76.jar [options] rest pef <get|put|delete> <pefJsonfile> (put|delete only)

1.	<get>	
	Example:
	by node list  : java -jar GbtUtility-2.1.76.jar rest pef get 
	by single IP : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest pef get
	by scan IP   : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 rest pef get

2.	<put>
	Example:
	by node list  : java -jar GbtUtility-2.1.76.jar rest pef put pefInfo.json 
	by single IP : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest pef put pefInfo.json
	by scan IP   : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 rest pef put pefInfo.json

3.	<delete>	
	Example:
	by node list  : java -jar GbtUtility-2.1.76.jar rest pef delete pefInfo.json
	by single IP : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest pef delete pefInfo.json
	by scan IP   : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 rest pef delete pefInfo.json
*************************************************************************************************************************************
3.33.9	trap :	Node trap ip
	usage: java -jar GbtUtility-2.1.76.jar [options] rest pef <get|put|delete> <trapJsonfile> (put|delete only)

1.	<get>
	Example:
	by node list  : java -jar GbtUtility-2.1.76.jar rest trap get 
	by single IP : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest trap get
	by scan IP   : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 rest trap get

2.	<put>
	Example:
	by node list  : java -jar GbtUtility-2.1.76.jar rest trap put trapInfo.json 
	by single IP : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest trap put trapInfo.json
	by scan IP   : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 rest trap put trapInfo.json

3.	<delete>
	Example:
	by node list  : java -jar GbtUtility-2.1.76.jar rest trap delete trapInfo.json
	by single IP : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest trap delete trapInfo.json
	by scan IP   : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 rest trap delete trapInfo.json
*************************************************************************************************************************************
3.33.10	dns		: General DNS service configuration.

	usage		: java -jar GbtUtility-2.1.76.jar [options] rest dns <enable | disable | status |
			  gethost | getserver | getdomain | info | setdns> [args...]

1.	<enable>	: Enable DNS service.
	Example		:
	by nodelist	: java -jar GbtUtility-2.1.76.jar rest dns enable
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest dns enable
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S ssdp rest dns enable

2.	<disable>	: Disable DNS service.
	Example		:
	by nodelist	: java -jar GbtUtility-2.1.76.jar rest dns disable
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest dns disable
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S ssdp rest dns disable

3.	<status>	: Get DNS service status.
	Example		:
	by nodelist	: java -jar GbtUtility-2.1.76.jar rest dns status
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest dns status
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S ssdp rest dns status

4.	<gethost>	: Get DNS hostname and it's configurations.
	Example		:
	by nodelist	: java -jar GbtUtility-2.1.76.jar rest dns gethost
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest dns gethost
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S ssdp rest dns gethost

5.	<getserver>	: Retrieve DNS server interface options.
	Example		:
	by nodelist	: java -jar GbtUtility-2.1.76.jar rest dns getserver
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest dns getserver
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S ssdp rest dns getserver

6.	<getdomain>	: Retrieve DNS domain interface options.
	Example		:
	by nodelist	: java -jar GbtUtility-2.1.76.jar rest dns getdomain
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest dns getdomain
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S ssdp rest dns getdomain

7.	<info>  	: Get DNS info.
	Example		:
	by nodelist	: java -jar GbtUtility-2.1.76.jar rest dns info
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest dns info
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S ssdp rest dns info

8.	<setdns> <jF>: Set DNS host,server,domain.
	Example		:
	by nodelist	: java -jar GbtUtility-2.1.76.jar rest dns setdns dns.json
	by single host	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest dns setdns dns.json
	by scan IP	: java -jar GbtUtility-2.1.76.jar -S ssdp rest dns setdns dns.json
*************************************************************************************************************************************
3.33.11	backup		: Retrieve information about the configuration backup options and download backup file

	usage		: java -jar GbtUtility-2.1.76.jar [options] rest backup <get | set | dump | fulldump | restore> [*.json]

	<get>		: Get the current settings of download BMC config as backup file on remote BMC.

	<set> <*.json>	: Set the settings of download BMC config as backup file to remote BMC.
	<dump>		: Download the BMC config as backup file from remote BMC with the current settings according to remote BMC.
	<fulldump>	: Download the full BMC config as backup file from remote BMC.
	<restore> <*.bak>: Restore the BMC configurations file to BMC restore the configurations.

	Example		:

	by Nodelist  	: java -jar GbtUtility-2.1.76.jar rest backup fulldump
	by single IP 	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest backup set backup.json
	by scan IP   	: java -jar GbtUtility-2.1.76.jar -S ssdp rest backup restore /home/bmcConfig.bak

	Notice		: The download BMC config file as *.bak located at ./results/yyyy-mm-dd/rest/
*************************************************************************************************************************************
3.33.12 preserve	: Preserve configurations of BMC configurations after update firmware

	usage		: java -jar GbtUtility-2.1.76.jar [options] rest preserve <get | set> [*.json]

	<get>		: Get preserve configurations json data of BMC configurations after update firmware

	<set>		: Set preserve configurations json data of BMC configurations after update firmware
	[*.json]	: The preserve configurations json data for set

	Example:
		by Nodelist  : java -jar GbtUtility-2.1.76.jar rest preserve get
		by single IP : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest preserve set examples/rest/preserveCfg.json
		by scan IP   : java -jar GbtUtility-2.1.76.jar -S ssdp rest preserve set examples/rest/preserveCfg.json
*************************************************************************************************************************************
3.33.13 ntp	: NTP configuration command.

	usage	: java -jar GbtUtility-2.1.76.jar [options] rest ntp <get | set> [*.json]

	<get>	: Get NTP configurations.

	<set>	: Set NTP configurations.
	<*.json>: The NTP configurations json data for upload.

	Example	:
		  by Nodelist	: java -jar GbtUtility-2.1.76.jar rest ntp get
		  by single IP	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest ntp set examples/rest/NTP.json
		  by scan IP	: java -jar GbtUtility-2.1.76.jar -S ssdp rest ntp set examples/rest/NTP.json
*************************************************************************************************************************************
3.33.14 aduser	:Get/Set Active Directory Setting information
	usage: java -jar GbtUtility-2.1.76.jar [options] rest aduser <get|put> <aduser file path(only put)>
	Example:
	by node list  : java -jar GbtUtility-2.1.76.jar rest aduser get 
	by single IP : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest aduser put aduser.json
	by scan IP   : java -jar GbtUtility-2.1.76.jar -S ssdp rest aduser put aduser.json
*************************************************************************************************************************************
3.33.15 adgroup	:Get/Set Active Directory Role Group information
	usage: java -jar GbtUtility-2.1.76.jar [options] rest adgroup <get|put> <adgroup file path(only put)>
	Example:
	by node list  : java -jar GbtUtility-2.1.76.jar rest adgroup get 
	by single IP : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest adgroup put adgroup.json
	by scan IP   : java -jar GbtUtility-2.1.76.jar -S ssdp rest adgroup put adgroup.json
*************************************************************************************************************************************
3.33.16 smbios : Get smbios information data.
	usage: java -jar GbtUtility-2.1.76.jar [options] rest smbios get
	Example:
	by node list  : java -jar GbtUtility-2.1.76.jar rest smbios get 
	by single IP : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest smbios get
	by scan IP   : java -jar GbtUtility-2.1.76.jar -S ssdp rest smbios get
*************************************************************************************************************************************
3.33.17	biosmenu	: Download or upload BIOS setup menu. (Deprecated)

	usage		: java -jar GbtUtility-2.1.76.jar [options] rest biosmenu <dump | upload> [uplfile]

	<dump>		: Download the BIOS setup menu as json file.
	<upload>	: Download the full BMC config as backup file from remote BMC.
	[uplfile]   : Upload file of BIOS setup menu, it can be json or gzip format file of BIOS setup menu

	Example		:

	by Nodelist  	: java -jar GbtUtility-2.1.76.jar rest biosmenu dump
	by single IP 	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest biosmenu upload /home/bios/XXXX_setup.json
	by scan IP   	: java -jar GbtUtility-2.1.76.jar -S ssdp rest biosmenu upload /home/bios/XXXX_setup.gz

	Notice		: The download BIOS setup menu file as *.json and located at ./results/yyyy-mm-dd/rest/
*************************************************************************************************************************************
3.33.18. raid	:	Get the raid configurations and build/delete raid.
	usage: java -jar GbtUtility-2.1.76.jar [options] rest raid <subcommand> <jsonfilepath(only for some subcommand)>

	subcommand:
		getraidinfo		:	Get raid card information
		createvirtualdevice	:	Create raid virtual device	(need jsonfilepath)
		deletevirtualdevice	:	Delete raid virtual device	(need jsonfilepath)
		getstoragesummary	:	Get storage summary information
		getphysicaldeviceinfo	:	Get physical device information
		getlogicaldeviceinfo	: 	Get logical device information
		getbbuinfo		:	Get BBU information
		getlogs			:	Get raid log	(need jsonfilepath)
		deletelogs		:	Delete raid log
	
	Example:
	by Nodelist  : java -jar GbtUtility-2.1.76.jar rest raid getraidinfo
				   java -jar GbtUtility-2.1.76.jar rest raid getlogs examples/rest/raidLogs.json
	by single IP : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest raid createvirtualdevice examples/rest/raidCreateVirtualDevice.json
	by scan IP   : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 rest raid deletevirtualdevice examples/rest/RaidDeleteVirtualDevice.json
*************************************************************************************************************************************
3.33.19	 ca		:	Upload CA file and update.
	usage: java -jar GbtUtility-2.1.76.jar [options] rest ca <subcommand> <cafile(only for post)> <key file(only for post)>
	
	subcommand:
		get				:	Get CA information (file name must be ca.pem)
		post			: 	upload and update CA file & key file (fileN ame must be key.pem)
	
	Example:
	by Nodelist  : java -jar GbtUtility-2.1.76.jar rest ca get
	by single IP : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest ca post ca.pem key.pem
	by scan IP   : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 rest ca post ca.pem key.pem
*************************************************************************************************************************************
3.33.20 fanprofile	:	Get,upload and execute fan profile
	(only support AMI. On vertiv fw please see command bmcutil fanprofile)
	
	usage: java -jar GbtUtility-2.1.76.jar [options] rest fanprofile <subcommand> <fanprofile json file(only support post|run>
	
	subcommand:
		post			: 	upload fan profile
		get				:	Get all fan profile information
		run				:	Execute the fan profile that appoint to.
	
	Example:
	by Nodelist  : java -jar GbtUtility-2.1.76.jar rest fanprofile post fanprofile_AMI.json
	by single IP : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest fanprofile get
	by scan IP   : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 rest fanprofile run fanProfileRun_AMI.json
***********************************************************************************************************
3.33.21	pamorder	: Set or get PAM order configurations by REST command.

	usage		: java -jar GbtUtility-2.1.76.jar [options] rest pamorder <get | set <*.json>>

	<get>		: Get the current settings of PAM order configurations.
	<set> <*.json>	: Set the PAM order configurations of BMC.

	Example		:

	by Nodelist  	: java -jar GbtUtility-2.1.76.jar rest pamorder set examples/rest/pamconfig.json
	by single IP 	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest pamorder get
	by scan IP   	: java -jar GbtUtility-2.1.76.jar -S ssdp rest pamorder set examples/rest/pamconfig.json
***********************************************************************************************************
3.33.22	vmedia	:	Mount ISO image command.

    usage: java -jar GbtUtility-2.1.76.jar [options] rest vmedia mount [iso file...]

    [iso file...] : Mount image files.

    Example:
    by Nodelist	: java -jar GbtUtility-2.1.76.jar rest vmedia mount /home/ubuntu.iso
    by single IP	: java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest vmedia mount /home/ubuntu.iso
    by scan IP	: java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 rest vmedia mount /home/ubuntu.iso
***********************************************************************************************************
3.33.23 nodeinfo	: Get BMC node information. (only for CMC)

	usage: java -jar GbtUtility-2.1.76.jar [options] rest nodeinfo get
	
	Example:
	by node list  : java -jar GbtUtility-2.1.76.jar rest nodeinfo get
	by single IP : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest nodeinfo get
	by scan IP   : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 rest nodeinfo get
***********************************************************************************************************
3.33.24	gpuinfo	: Get GPU information.
	usage: java -jar GbtUtility-2.1.76.jar [options] rest gpuinfo

	Example:
	by Nodelist  : java -jar GbtUtility-2.1.76.jar rest gpuinfo
	by single IP : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest gpuinfo
	by scan IP   : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 rest gpuinfo
***********************************************************************************************************
3.33.25	fpgainfo : Get FPGA information.
	usage: java -jar GbtUtility-2.1.76.jar [options] rest fpgainfo

	Example:
	by Nodelist  : java -jar GbtUtility-2.1.76.jar rest fpgainfo
	by single IP : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest fpgainfo
	by scan IP   : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 rest fpgainfo
***********************************************************************************************************
3.33.26	nvswitchinfo : Get NVSwitch information.
	usage: java -jar GbtUtility-2.1.76.jar [options] rest nvswitchinfo

	Example:
	by Nodelist  : java -jar GbtUtility-2.1.76.jar rest nvswitchinfo
	by single IP : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 rest nvswitchinfo
	by scan IP   : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 rest nvswitchinfo
=====================================================================================================================================
3.34	psuinfo
	usage	: java -jar GbtUtility-2.1.76.jar [options] psuinfo

	abstract: Get psu FRU data.

	output	: Show psuinfo data include manufacturer name, product name, product serial number, and asset tag.
	
	Example	:
		  by node list   : java -jar GbtUtility-2.1.76.jar psuinfo
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 psuinfo
		  by scan host   : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.150 psuinfo
=====================================================================================================================================
3.35	bpinfo				

	abstract: Get bp FRU data.
		
	usage	: java -jar GbtUtility-2.1.76.jar [options] bpinfo
	
	output	: Show bpinfo data include manufacturer name, product name, product serial number, and asset tag.

	Example	:
		  by node list	 : java -jar GbtUtility-2.1.76.jar bpinfo
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 bpinfo
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 bpinfo
=====================================================================================================================================
3.36	postcode	(Only support AMI)

	abstract: Get BIOS post code.
		
	usage	: java -jar GbtUtility-2.1.76.jar [options] postcode <current|previous>
			
	output	: BIOS current/previous code data
		
	Example	:
		  by node list	 : java -jar GbtUtility-2.1.76.jar postcode current
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 postcode previous
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 postcode previous
=====================================================================================================================================
3.37	raw

	abstract: Send IPMI raw command.
		
	usage	: java -jar GbtUtility-2.1.76.jar [options] raw <netFn> <cmd> [request data...]
	<netFn>			 : IPMI raw command network function.
	<cmd>			 : IPMI raw command code.
	[request data...]	 : IPMI raw request data.
	Example	:
		  by node list	 : java -jar GbtUtility-2.1.76.jar raw 0x06 0x01
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 raw 0x0c 0x02 0x01 0x05 0x00 0x00
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 raw 0x06 0x01
=====================================================================================================================================
3.38	lanprint

	abstract: Get BMC LAN configurations.

	usage	: java -jar GbtUtility-2.1.76.jar [options] lanprint
		
	Example	:
		  by node list	 : java -jar GbtUtility-2.1.76.jar lanprint
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 lanprint
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 lanprint
=====================================================================================================================================
3.39	netconfig	(Not support AMI)

	abstract: BMC network general configurations service command.

	usage	: java -jar GbtUtility-2.1.76.jar [options] netconfig <get|set> <hostname> <domain> <mode> <dns status> <ddns status>

	<get>	: Get the BMC hostname.

	Example	:
		  by node list	 : java -jar GbtUtility-2.1.76.jar netconfig get
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 netconfig get
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 netconfig get

	<set>	: Set the BMC network general configurations.
		<hostname>	: Set the host name of network configurations.
		<domain>	: Set the domain name of network configurations.
		<mode>		: Set the LAN mode of BMC network configurations. (dedicated, shared or failover)
		(dedicated)	: The default dedicated mode of BMC LAN configuration.
		(shared)	: The shared link mode of BMC LAN configuration.
		(failover)	: The shared and failover mode of BMC LAN configuration.
		<dns status>	: Set the DNS status (on, off)
		<dns status>	: Set the Dynamic DNS status (on, off, auto). "auto" means by interface as same as the web UI shown.
	                                                           
	Example	:
		  by node list	 : java -jar GbtUtility-2.1.76.jar netconfig set GIGABYTE BMCtest dedicated on off
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 netconfig set GIGABYTE BMCtest shared off off
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 netconfig set GIGABYTE bmc failover on auto
=====================================================================================================================================
3.40	mcreset

	abstract: Reset BMC command.

	usage	: java -jar GbtUtility-2.1.76.jar [options] mcreset <cold | warm>
	<cold>  : Cold reset BMC.
	<warm>  : Warm reset BMC.

	Example	:
		  by node list	 : java -jar GbtUtility-2.1.76.jar mcreset cold
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 mcreset warm
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.79,10.1.27.100 mcreset cold
=====================================================================================================================================
3.41	solconfig

	abstract: Set or get BMC SOL configurations by IPMI protocol.

	usage	: java -jar GbtUtility-2.1.76.jar [options] solconfig <get | set> [args...]

	<get>	: Get BMC SOL configurations. (without any rest arguments)
	<set>	: Set BMC SOL configurations.

		[enabled=<true | false>] : Enable or disable sol.
		[rate="numbers"]         : Volatile and non-volatile bit rate
		[priv="byte"]            : Privilege Level.

		
		0x02 : User
		0x03 : Operator
		0x04 : Administrator

	Example	:
		  by node list	 : java -jar GbtUtility-2.1.76.jar solconfig set enabled=false rate=9600 priv=0x04
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 solconfig set enabled=true rate=115200 priv=0x03
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.79,10.1.27.100 solconfig get
=====================================================================================================================================
3.42	fwlist (only support AMI)

	abstract: Get firmware version list, include BMC, BIOS and CPLD version.

	usage	: java -jar GbtUtility-2.1.76.jar [options] fwlist


	Example	:
		  by node list	 : java -jar GbtUtility-2.1.76.jar fwlist
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 fwlist
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.79,10.1.27.100 fwlist
=====================================================================================================================================
3.43	imageactivestatus

	abstract: Get image active status.

	usage	: java -jar GbtUtility-2.1.76.jar [options] imageactivestatus
	
	Example	:
		  by node list	 : java -jar GbtUtility-2.1.76.jar imageactivestatus
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 imageactivestatus
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 imageactivestatus
=====================================================================================================================================
3.44	hpmupdate

	abstract: update command for update BMC/BIOS by HPM firmware.

	usage	: java -jar GbtUtility-2.1.76.jar [optoins] hpmupdate <bmc | bios> [arguemts...]
*************************************************************************************************************************************
3.44.1	bmc
	usage	: java -jar GbtUtility-2.1.76.jar [options] update bmc [auto] [skip] <FW packages ...>

	[auto]			 : Do you want to continue main update process automatically after found the suitable FW package
	(optional)		   without ask your permission. If you want, set "auto" into command line arguments.

	[skip]			 : Do you want to skip the update BMC FW when the suitable FW package's revision
	(optional)		   as same as the current revision of the target BMC. If you want to, set "skip"
				   into command line arguments.

	<FW packages ...>	 : BMC update firmware packages.
				   (Note: Firmware packages only support .zip files and must set at least one)

	by node list (default)	 : java -jar GbtUtility-2.1.76.jar hpmupdate bmc auto 703.zip
				 : java -jar GbtUtility-2.1.76.jar hpmupdate bmc skip 703.zip
				 : java -jar GbtUtility-2.1.76.jar hpmupdate bmc skip 703.zip
		  by node list (specified)	 : java -jar GbtUtility-2.1.76.jar -L ./nodelist hpmupdate bmc auto 703.zip
				 : java -jar GbtUtility-2.1.76.jar -L ./nodelist hpmupdate bmc skip 703.zip
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 hpmupdate bmc /home/user/304.zip
				 : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 hpmupdate bmc auto /home/user/304.zip
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 hpmupdate bmc 505.zip
				 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 hpmupdate bmc auto /home/user/304.zip
				 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 hpmupdate bmc auto skip /home/user/304.zip
*************************************************************************************************************************************
3.44.2	bios
	usage	: java -jar GbtUtility-2.1.76.jar [options] hpmupdate bios [auto] <FW packages ...>

	[auto]			 : Do you want to continue main update process automatically after found the suitable FW package
	(optional)		   without ask your permission. If you want, set "auto" into command line arguments.

	[skip]			 : Do you want to skip check BIOS subject in release note or not.

	<FW packages ...>	 : BIOS update firmware packages.
				   (Note: Firmware packages only support .zip files and must set at least one)

	Example	:
		  by node list (default) : java -jar GbtUtility-2.1.76.jar hpmupdate bios auto 703.zip
				 : java -jar GbtUtility-2.1.76.jar hpmupdate bios  703.zip
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 hpmupdate bios /home/user/304.zip
				 : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 hpmupdate bios auto /home/user/304.zip
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 hpmupdate bios 505.zip
				 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 hpmupdate bios /home/user/304.zip
				 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 hpmupdate bios auto /home/user/304.zip
*************************************************************************************************************************************
3.44.3	scp
	usage	: java -jar GbtUtility-2.1.76.jar [options] hpmupdate scp [auto] <FW packages ...>

	[auto]			 : Do you want to continue main update process automatically after found the suitable FW package
	(optional)		   without ask your permission. If you want, set "auto" into command line arguments.


	<FW packages ...>	 : SCP update firmware packages.
				   (Note: Firmware packages only support .zip files and must set at least one)

	Example	:
		  by node list (default) : java -jar GbtUtility-2.1.76.jar hpmupdate scp auto 2.04.zip
				 : java -jar GbtUtility-2.1.76.jar hpmupdate scp 703.zip
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 hpmupdate scp /home/user/2.04.zip
				 : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 hpmupdate scp auto /home/user/2.04.zip
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 hpmupdate scp 2.04.zip
				 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 hpmupdate scp /home/user/2.04.zip
				 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 hpmupdate scp auto /home/user/2.04.zip
*************************************************************************************************************************************
3.44.4	erot
	usage	: java -jar GbtUtility-2.1.76.jar [options] hpmupdate erot [auto] <FW packages ...>

	[auto]			 : Do you want to continue main update process automatically after found the suitable FW package
	(optional)		   without ask your permission. If you want, set "auto" into command line arguments.


	<FW packages ...>	 : ERoT update firmware packages.
				   (Note: Firmware packages only support .zip files and must set at least one)

	Example	:
		  by node list (default) : java -jar GbtUtility-2.1.76.jar hpmupdate erot auto CG1_FW.zip
				 : java -jar GbtUtility-2.1.76.jar hpmupdate erot 703.zip
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 hpmupdate erot /home/user/CG1_FW.zip
				 : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 hpmupdate erot auto /home/user/CG1_FW.zip
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 hpmupdate erot CG1_FW.zip
				 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 hpmupdate erot /home/user/CG1_FW.zip
				 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 hpmupdate erot auto /home/user/CG1_FW.zip
*************************************************************************************************************************************
3.44.5	vbios
	usage	: java -jar GbtUtility-2.1.76.jar [options] hpmupdate vbios [auto] <FW packages ...>

	[auto]			 : Do you want to continue main update process automatically after found the suitable FW package
	(optional)		   without ask your permission. If you want, set "auto" into command line arguments.


	<FW packages ...>	 : VBIOS update firmware packages.
				   (Note: Firmware packages only support .zip files and must set at least one)

	Example	:
		  by node list (default) : java -jar GbtUtility-2.1.76.jar hpmupdate vbios auto CG1_FW.zip
				 : java -jar GbtUtility-2.1.76.jar hpmupdate vbios CG1_FW.zip
		  by single host : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 hpmupdate vbios /home/user/CG1_FW.zip
				 : java -jar GbtUtility-2.1.76.jar -H 10.1.27.79 hpmupdate vbios auto /home/user/CG1_FW.zip
		  by scan host	 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 hpmupdate vbios CG1_FW.zip
				 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 hpmupdate vbios /home/user/CG1_FW.zip
				 : java -jar GbtUtility-2.1.76.jar -S rmcp,10.1.27.1,10.1.27.100 hpmupdate vbios auto /home/user/CG1_FW.zip
=====================================================================================================================================
Chapter 4
=====================================================================================================================================
For more information with "update relate command" and "load default",
please reference GbtUtility command line SOP.docx
=====================================================================================================================================
Chapter 5
=====================================================================================================================================
Command Compatibility:
	5-1.    update rmc:
	5-1-1.    Command is suitable for Open Rack 2.0 and can use IPv4 and IPv6 environment.
	5-1-2.    Update has a limitation that at least rmc master and slave is both exist.(Control board is optional)
	
	5-2.    update: 
	5-2-1.    Update bmc command is supported IPv4 on all platform, IPv6 is support on Grantley 2.0 or above.
	5-2-2.    Update bios command is only supported IPv4 on Grantley platform. 
	5-2-3.    About update node file image package, please reference SOP chapter 2.3.
	
	5-3.    Load default, command is only supported Grantely platform and version 3.03.
	
	5-4.    ikvm 
	5-4-1     Only support single IP, for Nodelist will only use first IP in list.
	5-4-2.    ikvm for linux, need install javaws kits.
=====================================================================================================================================
Chapter 6
=====================================================================================================================================
Note:
	6-1.	Gigabyte set default username is "admin", password is "password" on all IPMI module,
		utility will set username and password as default if you do not assign.
=====================================================================================================================================