It is possible that some properties or resources described in this section are not implemented in iLO 4 and iLO 5.
This section provides information about the network protocols controlled by HPE iLO. The exhaustive list of iLO network protocols can be retrieved from the standard URI at /redfish/v1/Managers/1/NetworkProtocol
.
HPE iLO supports the Simple Network Management Protocol (SNMP). SNMP traps are generated by Redfish events posted in the iLO Integrated Management Logs (IML). iLO SNMP Object Identifiers (OIDs) are defined in the HPE Systems Insight Manager (SIM) MIB update kit. To cross reference an SNMP trap with REST alerts information, see the REST alerts table in the iLO user guide.
If you make a mistake in the following iLOrest examples, you can always delete property changes in the cache, by reloading the a fresh schema/data-type (ilorest select Schema. --refresh
):
ilorest select Schema.
ilorest set Property="Bad Value"
ilorest select Schema. --refresh
SNMP enablement is performed by setting the SNMP/ProtocolEnabled
property to true
under the Redfish standard ManagerNetworkProtocol
URI .
PATCH /redfish/v1/Managers/1/NetworkProtocol
SNMPv1 is enabled when the SNMPv1Enabled
key is set to true
, under the /redfish/v1/Managers/1/SnmpService
URI.
An iLO reset is required when a PATCH request is performed on that property.
PATCH /redfish/v1/Managers/1/SnmpService
SNMPv3 configuration can only be performed when the SNMP is enabled. SNMPv1 configuration can only be performed when the SNMP and the SNMPv1 are enabled.
The SNMP default port number (161) can be modified with a PATCH request of the SNMP/Port
property under the Redfish standard ManagerNetworkProtocol
URI.
The SNMP default trap port (162) can be modified with a PATCH request of the OEM/Hpe/SNMPTrapPort
property under the ManagerNetworkProtocol
URI.
PATCH /redfish/v1/Managers/1/NetworkProtocol
General SNMP settings can be set in under the HpeiLOSnmpService
URI .
PATCH /redfish/v1/Managers/1/SnmpService
A space between the elements of the ReadCommunities
array leads to the following error:
'[CommunityString1,' is not a valid setting for 'ReadCommunities', expecting an array
Specific SNMPv3 settings can be provided under the /redfish/v1/Managers/1/SnmpService
URI .
PATCH /redfish/v1/Managers/1/SnmpService
SNMP alerts properties can be set under the /redfish/v1/Managers/1/SnmpService
URI .
The following properties have been added in HpeiLOSnmpService
version 2.4.0:
SNMPv1RequestsEnabled
: Enables/disables (Boolean) iLO to receive external SNMPv1 requests.SNMPv1TrapEnabled
: Enables/disables (Boolean) iLO to send SNMPv1 traps to the remote management systems configured in the alert destination.SNMPv3RequestsEnabled
: Enables/disables (Boolean) iLO to receive external SNMPv3 requests.SNMPv3TrapEnabled
: Enables/disables (Boolean) iLO to send SNMPv3 traps to the remote management systems configured in the alert destination.
SNMPv1Enabled
enables bothSNMPv1RequestsEnabled
andSNMPv1TrapEnabled
.AlertsEnabled
enables bothSNMPv1TrapEnabled
andSNMPv3TrapEnabled
.- Enabling either
SNMPv1RequestsEnabled
orSNMPv1TrapEnabled
enablesSNMPv1Enabled
. - Enabling either
SNMPv1TrapEnabled
orSNMPv3TrapEnabled
enablesAlertsEnabled
.
PATCH /redfish/v1/Managers/1/SnmpService
Add an SNMP alert destination with a POST request in the HpeSNMPAlertDestinationCollection
URI.
- The
SNMPv1TrapEnabled
option is available whenSNMPv1TrapEnabled
is enabled in the SNMP Alerts section. - The
SNMPv3TrapEnabled
option is available whenSNMPv3TrapEnabled
is enabled in the SNMP Alerts section and at least one SNMPv3 user is configured. - The
SNMPv3Inform
option is available when at least one SNMPv3 user is configured.
POST redfish/v1/Managers/1/SnmpService/SNMPAlertDestinations
SNMPv3 users can be managed under the HpeSNMPUsersCollection
URI .
SNMPv3user
is available only if the SNMP Protocol is set to SNMPv3TrapEnabled
or SNMPv3Inform
.
POST /redfish/v1/Managers/1/SnmpService/SNMPUsers
View the collection of SNMPv3 users:
GET /redfish/v1/Managers/1/SnmpService/SNMPUsers
View the properties of all SNMPv3 users:
GET /redfish/v1/Managers/1/SnmpService/SNMPUsers/?$expand=.
Delete SNMP user
DELETE /redfish/v1/Managers/1/SnmpService/SNMPUsers/2
Test alerts can be sent to alert destinations using a POST request towards HpeiLOSnmpService.SendSNMPTestAlert
under the /redfish/v1/Managers/1/SnmpService
URI with an empty body.
POST /redfish/v1/Managers/1/SnmpService/Actions/HpeiLOSnmpService.SendSNMPTestAlert/
HPE iLO is able to control the use of the Intelligent Platform Management Interface ( IPMI) using the Redfish API.
The following example retrieves the state of IPMI using cURL and iLOrest.
GET /redfish/v1/Managers/1/NetworkProtocol/?$select=IPMI
IPMI over Keyboard Controller Style (KCS) enables management of the computer system and monitoring of the operations from within the host Operating System (OS). It is possible to enable or disable KCS for iLO 6 since version 1.40.
The following example enables the KCS interface using iLOrest and cURL.
PATCH /redfish/v1/Managers/1/NetworkProtocol
Workload:
{
"Oem": {
"Hpe":{
"KcsEnabled": true
}
}
}
In-band management operations can fail or be slow when the IPMI interrupt support is enabled in the HPE Bios service OEM extension of iLO 6 version 1.10 and later. Refer to this customer advisory for more detail.
The following example disables the KcsIpmiInterrupt
attribute in the HPE Bios service subsystem of an HPE iLO 6 based server. Then it performs a graceful restart of the server.
PATCH /redfish/v1/Systems/1/Bios/Oem/Hpe/Service/Settings
Body:
{
"Attributes": {
"KcsIpmiInterrupt": "Disabled"
}
}
- More information concerning the HPE Bios service subsystem can be found in the Managing HPE Bios section.
- After a modification in the BIOS settings (standard or OEM extension) and the restart of the server, it is a good practice to analyze the
@Redfish.Settings
object of the current settings area as explained in the Redfish error responses and messages section.