EasyManua.ls Logo

Cisco UCS C Series - Importing Cisco IMC Configuration Status; Setting an Asset Tag Value

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...
Response:
Note: curl with verbose option enabled receives an http
response '202 Accepted' for the above query.
Importing Cisco IMC Configuration Status
Request:
curl -GET https://10.10.10.10/redfish/v1/TaskService/Tasks
/ImportBmcConfig --insecure -u admin:password
Response:
{
"@odata.id":"/redfish/v1/TaskService/Tasks/ImportBmcConfig",
"Name":"Task ImportBmcConfig",
"@odata.context":"/redfish/v1/$metadata#TaskService/Tasks/Members/$entity",
"TaskStatus":"OK",
"@odata.type":"#Task.1.0.0",
"Id":"ImportBmcConfig",
"TaskState":"Running",
"Oem":{
"ImportStatus":"Applying configuration"
},
"Description":"Import BMC Configuration"
}
Setting an Asset Tag Value
Request:
curl -XPATCH https://10.10.10.10/redfish/v1/Systems
/FCH2005V1E4 -d '{"AssetTag":"Cisco123"}' --insecure -u admin:password
Response:
{
"SerialNumber":"FCH2005V1E4",
"Boot":{
"BootSourceOverrideEnabled":"Disabled",
"BootSourceOverrideTarget":"None"
},
"Id":"FCH2005V1E4",
"AssetTag":"Cisco123",
"PowerState":"On",
"SystemType":"Physical",
"ProcessorSummary":{
"Model":"Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz",
"Count":2
},
"HostName":"C240-FCH2005V1E4",
"MemorySummary":{
"TotalSystemMemoryGiB":128,
"State":{
"HealthRollup":"OK",
"Health":"OK"
}
Cisco UCS C-Series Servers REST API Programmer's Guide
32
Cisco IMC REST API Examples
Examples of Server Tasks

Table of Contents

Other manuals for Cisco UCS C Series

Related product manuals