Go to main content

Oracle® ILOM Protocol Management Reference for SNMP and IPMI Firmware Release 3.2.x

Exit Print View

Updated: January 2017
 
 

View and Set Clock Settings


Note -  You can use the get and set commands to view and set clock settings with respect to Network Time Protocol (NTP) synchronization. For a description of valid MIB objects for this procedure, see the table following this procedure.
  1. Log in to a host that has an SNMP tool and the Oracle ILOM MIBs installed. For example, type:

    ssh username@snmp_manager_ip_address

    Password: password

  2. Refer to the following SNMP commands for examples:
    • To view the NTP server state, type:
      % snmpget SNMP_agent ilomCtrlNTPEnabled.0
      
    • To set the NTP server state to enabled, type:
      % snmpset SNMP_agent ilomCtrlNTPEnabled.0 i 1
      
    • To view the date and time of the device, type:
      % snmpget SNMP_agent ilomCtrlDateAndTime.0
      
    • To set the date and time of the device, type:
      % snmpset SNMP_agent ilomCtrlDateAndTime.0 s 2013-3-24,4:59:47.0
      

      The following table describes the valid SNMP MIB objects for Oracle ILOM clock properties.

      MIB Object
      Description
      Allowed Values
      Type
      Default
      ilomCtrlDateAndTime
      The date and time of the device.
      date/time
      String
      None
      ilomCtrlNTP
      Enabled
      Specifies whether the Network Time Protocol is enabled.
      true(1),
      false(2)
      Integer
      false
      ilomCtrlTimezone
      The configured time zone string.
      Size: 0 to 255
      String
      None