GET
要求
curl -k -u admin:password https://10.10.10.10/redfish/v1/Managers/BMC1/NetworkProtocol
(注)
|
Cisco UCS S シリーズ デュアル ノード構成の場合、リクエストを 2 回実行する必要があります。1 回は BMC1 用、もう 1 回は BMC2 用です。
|
応答
{
"@odata.id": "/redfish/v1/Managers/BMC1/NetworkProtocol",
"@odata.type": "#ManagerNetworkProtocol.v1_5_0.ManagerNetworkProtocol",
"@odata.context": "/redfish/v1/$metadata#ManagerNetworkProtocol.ManagerNetworkProtocol",
"Id": "ManagerNetworkProtocol",
"Name": "Manager Network Protocol",
"SSH": {
"ProtocolEnabled": true,
"Port": 22
},
"Description": "Manager Network Service",
"VirtualMedia": {
"ProtocolEnabled": true,
"Port": 2068
},
"HostName": "C220-WZP26330KVU",
"HTTP": {
"ProtocolEnabled": false,
"Port": 80
},
"KVMIP": {
"ProtocolEnabled": true,
"Port": 2068
},
"DHCP": {
"ProtocolEnabled": false,
"Port": null
},
"HTTPS": {
"ProtocolEnabled": true,
"Port": 443,
"Certificates": {
"@odata.id": "/redfish/v1/Managers/BMC1/NetworkProtocol/HTTPS/Certificates"
}
},
"NTP": {
"ProtocolEnabled": false,
"Port": 123,
"NTPServers": []
},
"DHCPv6": {
"ProtocolEnabled": true,
"Port": null
},
"Oem": {
"Cisco": {
"KVMConfiguration": {
"LocalServerVideo": "Enabled",
"MaxConcurrentSessions": 4
},
"KVMVendor": {
"Vendor": "Cisco"
},
"SSHTimeout": 1800,
"IPMIOverLan": {
"ChannelSecurityKey": "0000000000000000000000000000000000000000",
"PrivilegeLevelLimit": "admin"
}
}
},
"IPMI": {
"ProtocolEnabled": false,
"Port": 623
},
"SNMP": {
"ProtocolEnabled": false,
"EnableSNMPv2c": false,
"EnableSNMPv3": false,
"CommunityStrings": [{
"AccessMode": null,
"CommunityString": ""
}],
"HideCommunityStrings": false,
"Port": 161,
"EnableSNMPv1": false
},
"Actions": {
"Oem": {
"#CiscoUCSExtensions.ResetKVM": {
"target": "/redfish/v1/Managers/BMC1/NetworkProtocol/Actions/Oem/CiscoUCSExtensions.ResetKVM",
"@odata.type": "#CiscoUCSExtensions.v1_0_0.ResetKVM"
}
}
}
}
SET
要求
curl -k -u admin:password https://10.10.10.10/redfish/v1/Managers/BMC1/NetworkProtocol -XPATCH -
d '{"IPMI": {"ProtocolEnabled": false}, "Oem": {"Cisco": {"IPMIOverLan": {"ChannelSecurityKey": "055DDDE537EF5F50C659
3B199BBB4D3429102222", "PrivilegeLevelLimit": "read-only" } } } }'
(注)
|
Cisco UCS S シリーズ デュアル ノード構成の場合、リクエストを 2 回実行する必要があります。1 回は BMC1 用、もう 1 回は BMC2 用です。
|
応答
{
"@odata.id": "/redfish/v1/Managers/BMC1/NetworkProtocol",
"@odata.type": "#ManagerNetworkProtocol.v1_5_0.ManagerNetworkProtocol",
"@odata.context": "/redfish/v1/$metadata#ManagerNetworkProtocol.ManagerNetworkProtocol",
"Id": "ManagerNetworkProtocol",
"Name": "Manager Network Protocol",
"SSH": {
"ProtocolEnabled": true,
"Port": 22
},
"Description": "Manager Network Service",
"VirtualMedia": {
"ProtocolEnabled": true,
"Port": 2068
},
"HostName": "C220-WZP26330KVU",
"HTTP": {
"ProtocolEnabled": false,
"Port": 80
},
"KVMIP": {
"ProtocolEnabled": true,
"Port": 2068
},
"DHCP": {
"ProtocolEnabled": false,
"Port": null
},
"HTTPS": {
"ProtocolEnabled": true,
"Port": 443,
"Certificates": {
"@odata.id": "/redfish/v1/Managers/BMC1/NetworkProtocol/HTTPS/Certificates"
}
},
"NTP": {
"ProtocolEnabled": false,
"Port": 123,
"NTPServers": []
},
"DHCPv6": {
"ProtocolEnabled": true,
"Port": null
},
"Oem": {
"Cisco": {
"KVMConfiguration": {
"LocalServerVideo": "Enabled",
"MaxConcurrentSessions": 4
},
"KVMVendor": {
"Vendor": "Cisco"
},
"SSHTimeout": 2500,
"IPMIOverLan": {
"ChannelSecurityKey": "055DDDE537EF5F50C6593B199BBB4D3429102222",
"PrivilegeLevelLimit": "read.only"
}
}
},
"IPMI": {
"ProtocolEnabled": false,
"Port": 623
},
"SNMP": {
"ProtocolEnabled": false,
"EnableSNMPv2c": false,
"EnableSNMPv3": false,
"CommunityStrings": [{
"AccessMode": null,
"CommunityString": ""
}],
"HideCommunityStrings": false,
"Port": 161,
"EnableSNMPv1": false
},
"Actions": {
"Oem": {
"#CiscoUCSExtensions.ResetKVM": {
"target": "/redfish/v1/Managers/BMC1/NetworkProtocol/Actions/Oem/CiscoUCSExtensions.ResetKVM",
"@odata.type": "#CiscoUCSExtensions.v1_0_0.ResetKVM"
}
}
}
}