DASH CLI application can help in out of band management of DASH enabled systems using any of hostname, IPv4 address or IPv6 address. Here is a comparison of the usage between calling the same commands from DASH CLI.
In the below examples we have considered a system with the following properties:
DASH CLI can be downloaded from the AMD page https://developer.amd.com/tools-for-dmtf-dash/
Command 1: Discovery Info
HostName | Input | dashcli -h dash-system discover info |
Output | DASH system(s) discovered: desktop-picasso:623 DASH Version : 1.1.0 Product Vendor : Broadcom Corporation Product Version : 3.5.0.9 Nov 2 2017 03:18:19 Protocol Version : http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd Security Profile(s): http://schemas.dmtf.org/wbem/wsman/1/wsman/secprofile/http/digest http://schemas.dmtf.org/wbem/wsman/1/wsman/secprofile/https/digest http://schemas.dmtf.org/wbem/wsman/1/wsman/secprofile/https/basic | |
IPv4 | Input | dashcli -h 192.168.0.12 discover info |
Output | DASH system(s) discovered: 192.168.0.12:623 DASH Version : 1.1.0 Product Vendor : Broadcom Corporation Product Version : 3.5.0.9 Nov 2 2017 03:18:19 Protocol Version : http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd Security Profile(s): http://schemas.dmtf.org/wbem/wsman/1/wsman/secprofile/http/digest http://schemas.dmtf.org/wbem/wsman/1/wsman/secprofile/https/digest http://schemas.dmtf.org/wbem/wsman/1/wsman/secprofile/https/basic | |
IPv6 | Input | dashcli -h 2002:a8a:87b3:0:200:1aff:fe1c:4520 discover info |
Output | DASH system(s) discovered: 2002:a8a:87b3:0:200:1aff:fe1c:4520:623 DASH Version : 1.1.0 Product Vendor : Broadcom Corporation Product Version : 3.5.0.9 Nov 2 2017 03:18:19 Protocol Version : http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd Security Profile(s): http://schemas.dmtf.org/wbem/wsman/1/wsman/secprofile/http/digest http://schemas.dmtf.org/wbem/wsman/1/wsman/secprofile/https/digest http://schemas.dmtf.org/wbem/wsman/1/wsman/secprofile/https/basic |
Command 2: Enumerate Computer System
HostName | Input | dashcli -h dash-system -u admin -P adminpass enumerate computersystem |
Output | Computer System Instance 0 Name : 12345678-1234-5678-90ab-cddeefaabbcc Element Name : Computer System Primary Owner : Primary Owner Contact : Enabled State : Enabled Requested State : No Change Current Power State : On Requested Power State : Off - Hard Graceful PowerOn Time : N/A Dedicated To : Laptop Supported Power Change capabilities : Power State Settable, Power Cycling Supported, HW Reset Supported, Graceful Shutdown Supported Supported Power States : Other, On, Sleep - Light, Sleep -Deep, Power Cycle (Off - Soft), Hibernate (Off - Soft), Off - Soft, Master Bus Reset, Off - Soft Graceful, Master Bus Reset Graceful, Power Cycle (Off - Soft Graceful) Request Supported Power States : On, Power Cycle (Off - Soft), Off - Soft, Master Bus Reset, Sleep -Deep, Hibernate (Off - Soft), Off - Soft Graceful, Master Bus Reset Graceful Available Requested Power States : Power Cycle (Off - Soft), Off - Soft, Master Bus Reset, Sleep -Deep, Hibernate (Off - Soft), Off - Soft Graceful, Master Bus Reset Graceful
Computer System Instance 1 Name : 2002:a8a:87b3:0:200:1aff:fe1c:4520 Element Name : Broadcom Management Controller Primary Owner : N/A Primary Owner Contact : N/A Enabled State : Enabled Requested State : No Change Current Power State : On Requested Power State : Off - Hard Graceful PowerOn Time : N/A Dedicated To : Management Controller Supported Power Change capabilities : N/A Supported Power States : N/A Request Supported Power States : N/A Available Requested Power States : Power Cycle (Off - Soft), Off - Soft, Master Bus Reset, Sleep -Deep, Hibernate (Off - Soft), Off - Soft Graceful, Master Bus Reset Graceful | |
IPv4 | Input | dashcli -h 192.168.0.12 -u admin -P adminpass enumerate computersystem |
Output | Computer System Instance 0 Name : 12345678-1234-5678-90ab-cddeefaabbcc Element Name : Computer System Primary Owner : Primary Owner Contact : Enabled State : Enabled Requested State : No Change Current Power State : On Requested Power State : Off - Hard Graceful PowerOn Time : N/A Dedicated To : Laptop Supported Power Change capabilities : Power State Settable, Power Cycling Supported, HW Reset Supported, Graceful Shutdown Supported Supported Power States : Other, On, Sleep - Light, Sleep -Deep, Power Cycle (Off - Soft), Hibernate (Off - Soft), Off - Soft, Master Bus Reset, Off - Soft Graceful, Master Bus Reset Graceful, Power Cycle (Off - Soft Graceful) Request Supported Power States : On, Power Cycle (Off - Soft), Off - Soft, Master Bus Reset, Sleep -Deep, Hibernate (Off - Soft), Off - Soft Graceful, Master Bus Reset Graceful Available Requested Power States : Power Cycle (Off - Soft), Off - Soft, Master Bus Reset, Sleep -Deep, Hibernate (Off - Soft), Off - Soft Graceful, Master Bus Reset Graceful
Computer System Instance 1 Name : 2002:a8a:87b3:0:200:1aff:fe1c:4520 Element Name : Broadcom Management Controller Primary Owner : N/A Primary Owner Contact : N/A Enabled State : Enabled Requested State : No Change Current Power State : On Requested Power State : Off - Hard Graceful PowerOn Time : N/A Dedicated To : Management Controller Supported Power Change capabilities : N/A Supported Power States : N/A Request Supported Power States : N/A Available Requested Power States : Power Cycle (Off - Soft), Off - Soft, Master Bus Reset, Sleep -Deep, Hibernate (Off - Soft), Off - Soft Graceful, Master Bus Reset Graceful | |
IPv6 | Input | dashcli -h 2002:a8a:87b3:0:200:1aff:fe1c:4520 -u admin -P adminpass enumerate computersystem |
Output | Computer System Instance 0 Name : 12345678-1234-5678-90ab-cddeefaabbcc Element Name : Computer System Primary Owner : Primary Owner Contact : Enabled State : Enabled Requested State : No Change Current Power State : On Requested Power State : Off - Hard Graceful PowerOn Time : N/A Dedicated To : Laptop Supported Power Change capabilities : Power State Settable, Power Cycling Supported, HW Reset Supported, Graceful Shutdown Supported Supported Power States : Other, On, Sleep - Light, Sleep -Deep, Power Cycle (Off - Soft), Hibernate (Off - Soft), Off - Soft, Master Bus Reset, Off - Soft Graceful, Master Bus Reset Graceful, Power Cycle (Off - Soft Graceful) Request Supported Power States : On, Power Cycle (Off - Soft), Off - Soft, Master Bus Reset, Sleep -Deep, Hibernate (Off - Soft), Off - Soft Graceful, Master Bus Reset Graceful Available Requested Power States : Power Cycle (Off - Soft), Off - Soft, Master Bus Reset, Sleep -Deep, Hibernate (Off - Soft), Off - Soft Graceful, Master Bus Reset Graceful
Computer System Instance 1 Name : 2002:a8a:87b3:0:200:1aff:fe1c:4520 Element Name : Broadcom Management Controller Primary Owner : N/A Primary Owner Contact : N/A Enabled State : Enabled Requested State : No Change Current Power State : On Requested Power State : Off - Hard Graceful PowerOn Time : N/A Dedicated To : Management Controller Supported Power Change capabilities : N/A Supported Power States : N/A Request Supported Power States : N/A Available Requested Power States : Power Cycle (Off - Soft), Off - Soft, Master Bus Reset, Sleep -Deep, Hibernate (Off - Soft), Off - Soft Graceful, Master Bus Reset Graceful |
Command 3: Power Status
HostName | Input | dashcli -h dash-system -u admin -P adminpass -t computersystem[0] power status |
Output | Power state : On | |
IPv4 | Input | dashcli -h 192.168.0.12 -u admin -P adminpass -t computersystem[0] power status |
Output | Power state : On | |
IPv6 | Input | dashcli -h 2002:a8a:87b3:0:200:1aff:fe1c:4520 -u admin -P adminpass -t computersystem[0] power status |
Output | Power state : On |
For any further query, drop a note below or contact via mail dashsupport@amd.com