EasyManua.ls Logo

Cisco UCS C Series - Exporting Cisco IMC Configuration; Exporting Cisco IMC Configuration Status; Importing Cisco IMC Configuration

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...
"Protocol":"scp",
"RemoteUsername":"mike"
},
"Description":"BMC Technical Support Export"
}
Exporting Cisco IMC Configuration
Request:
curl -POST https://10.10.10.10/redfish/v1/Managers/CIMC/Actions/
Oem.ExportBmcConfig -d '{"RemoteHostname":"10.10.10.10",
"RemotePath":"/home/mike/dan/cimc_export.xml","Passphrase":"testtest",
"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.
Exporting Cisco IMC Configuration Status
Request:
curl -GET https://10.10.10.10/redfish/v1/TaskService/Tasks/
ExportBmcConfig --insecure -u admin:password
Response:
{
"@odata.id":"/redfish/v1/TaskService/Tasks/ExportBmcConfig",
"Name":"Task ExportBmcConfig",
"@odata.context":"/redfish/v1/$metadata#TaskService/Tasks/Members/$entity",
"TaskStatus":"OK",
"@odata.type":"#Task.1.0.0",
"Id":"ExportBmcConfig",
"TaskState":"Completed",
"Oem":{
"ExportStatus":"Completed"
},
"Description":"Export BMC Configuration"
}
Importing Cisco IMC Configuration
Request:
curl -POST https://10.10.10.10/redfish/v1/Managers/CIMC/Actions/
Oem.ImportBmcConfig -d '{"RemoteHostname":"10.10.10.10",
"RemotePath":"/home/mike/tom/cimc_export.xml",
"Passphrase":"testtest","Protocol":"scp",
"RemoteUsername":"mike",
"RemotePassword":"1234game"}' --insecure -u
admin:password
Cisco UCS C-Series Servers REST API Programmer's Guide
31
Cisco IMC REST API Examples
Examples of Server Tasks

Table of Contents

Other manuals for Cisco UCS C Series

Related product manuals