EasyManua.ls Logo

Cisco UCS C Series - Triggering Cisco IMC Technical Support; Retrieving Cisco IMC Technical Support Status

Cisco UCS C Series
138 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
curl -GET https://10.10.10.10/redfish/v1/TaskService/Tasks/
BmcFwUpdate --insecure -u admin:password
Response:
{
"@odata.id":"/redfish/v1/TaskService/Tasks/BmcFwUpdate",
"Name":"Task BmcFwUpdate",
"@odata.context":"/redfish/v1/$metadata#TaskService/Tasks/Members/$entity",
"TaskStatus":"OK",
"@odata.type":"#Task.1.0.0",
"Id":"BmcFwUpdate",
"TaskState":"Running",
"Oem":{
"FWVersion":"3.0(0.369)",
"UpdateStatus":"Downloading (5%)"
},
"Description":"Cisco IMC backup firmware version"
}
Triggering Cisco IMC Technical Support
Request:
curl -POST https://10.10.10.10/redfish/v1/Managers/CIMC/Actions/
Oem.BmcTechSupportExport -d '{"RemoteHostname":"10.10.10.10",
"RemotePath":"/home/mike/dan/techSupport.tar.gz",
"Protocol":"SCP","RemoteUsername":"mike",
"RemotePassword":"1234game"}' --insecure -u admin:password
Response:
Note: curl with verbose option enabled receives an http
response '202 Accepted' for the above query.
Retrieving Cisco IMC Technical Support Status
Request:
curl -GET https://10.10.10.10/redfish/v1/TaskService/Tasks/
BmcTechSupportExport --insecure -u admin:password
Response:
{
"@odata.id":"/redfish/v1/TaskService/Tasks/BmcTechSupportExport",
"Name":"Task BmcTechSupportExport",
"@odata.context":"/redfish/v1/$metadata#TaskService/Tasks/Members/$entity",
"TaskStatus":"OK",
"@odata.type":"#Task.1.0.0",
"Id":"BmcTechSupportExport",
"TaskState":"Running",
"Oem":{
"RemoteHostName":"10.10.10.10",
"RemotePath":"/home/mike/dan/techSupport.tar.gz",
"ExportStatus":"Collecting Data (0%)",
Cisco UCS C-Series Servers REST API Programmer's Guide
30
Cisco IMC REST API Examples
Examples of Server Tasks

Table of Contents

Other manuals for Cisco UCS C Series

Related product manuals