"Name":"Manager Ethernet Interface",
"Links":{
"Chassis":["/redfish/v1/Chassis/1"]
},
"@odata.id":"/redfish/v1/Managers/CIMC/EthernetInterfaces/NICs",
"@odata.type":"#EthernetInterface.1.0.0",
"MaxIPv6StaticAddresses":1,
"MTUSize":1500,
"Description":"Manager Network Interface",
"PermanentMACAddress":"A0:EC:F9:CD:BB:28",
"IPv6StaticAddresses":{
"PrefixLength":"64",
"Address":"::"
}
}
Retrieving Cisco IMC Log Entries
Request:
curl -k -u admin:xxxx https://10.10.10.10/redfish/v1/Managers/CIMC/LogServices/CIMC/Entries
Response:
{
"Members":[{
"EventTimestamp":"2019 May
3 11:29:45 UTC",
"Id":1,
"EntryType":"CIMC",
"Name":"Log Entry 1",
"EventType":"Alert",
"EventId":1,
"Message":" pam_ldap_manager(redfish:auth): Start ----------->\n",
"Description":"Log Entry 1",
"Severity":"Informational",
"@odata.id":"/redfish/v1/Managers/CIMC/LogServices/CIMC/Entries/1",
"Created":"2019 May
3 11:29:45 UTC"
},{
"EventTimestamp":"2019 May
3 11:29:41 UTC",
"Id":2,
"EntryType":"CIMC",
"Name":"Log Entry 2",
"EventType":"Alert",
"EventId":2,
"Message":" CIMC log cleared by User:admin from Interface:webgui\n",
"Description":"Log Entry 2",
"Severity":"Notice",
"@odata.id":"/redfish/v1/Managers/CIMC/LogServices/CIMC/Entries/2",
"Created":"2019 May
3 11:29:41 UTC"
},{
"EventTimestamp":"2019 May
3 11:29:41 UTC",
"Id":3,
"EntryType":"CIMC",
"Name":"Log Entry 3",
"EventType":"Alert",
"EventId":3,
"Message":" obj/../../src/LogAgent.cc:956:CIMC log clear\n",
"Description":"Log Entry 3",
"Severity":"Notice",
"@odata.id":"/redfish/v1/Managers/CIMC/LogServices/CIMC/Entries/3",
"Created":"2019 May
3 11:29:41 UTC"
}],
Cisco UCS C-Series Servers REST API Programmer's Guide
61
Cisco IMC REST API Examples
Examples of Server Tasks for 3.1(3)