2.
You can get the Profile content by the following command. To save the
content to a file, add -o option and output path. (e.g C:\RaidConfig.json)
Example:
[Command]
C:\>curl –u admin:admin –H "Accept: application/json" –X GET –i
http://172.17.167.219/rest/v1/Oem/eLCM/ProfileManagement/RAIDAdapter
-o C:\RaidConfig.json
[Response]
HTTP/1.1 200 OK
Data: Tue, 08 Dec 2015 09:28:54 GMT
Server: iRMC S5 Webserver
Content-Length: 865
Content-Type: application/json; charset=UTF-8
Content-disposition: attachment;
filename="rest/v1/Oem/eLCM/ProfileManagement/RAIDAdapter"
{
"Server":{
"HWConfigurationIrmc":{
"Adapters":{
"RAIDAdapter":[
{
"@AdapterId":"RAIDAdapter1",
"@ConfigurationType":"Addressing",
.
.
PhysicalDisks:{
PhysicalDisk:[
{
"@Number":"0",
"Slot":"0",
"PDStatus":"Available",
"Interface":"SAS",
.
.
}
68
Cisco C880 M5 Installation Manual