Configure NTP Server Settings
Using SNMP, you can change the following NTP server-related settings in the
unitConfigurationTable:
-
Enable or disable synchronization of the device date and time with NTP
servers (synchronizeWithNTPServer).
-
Enable or disable the use of DHCP‑assigned NTP servers if synchronization
with NTP servers is enabled (useDHCPProvidedNTPServer).
-
Manually assign the primary NTP server if the use of DHCP‑assigned NTP
servers is disabled (primaryNTPServerAddressType and
primaryNTPServerAddress).
-
Manually assign the secondary NTP server (optional)
(secondaryNTPServerAddressType and secondaryNTPServerAddress).
Note -
When using the SNMP SET command to specify or change NTP servers, it
is required that you set both the NTP server address type and address in
the command line simultaneously.
For example, the following SNMP command changes the primary NTP server
address from IPv4 (192.168.84.84) to host name:
snmpset -v2c -c private 192.168.84.84 firstNTPServerAddressType = dns
firstNTPServerAddress = "angu.pep.com"
 | Caution -
When enabling previously-disabled thresholds through SNMP, ensure you
set a correct value for all thresholds that are supposed to be enabled
before actually enabling them. Otherwise, you might get an error
message.
|