devNTPMode
PDN-DEVICE-TIME-MIB ·
.1.3.6.1.4.1.1795.2.24.2.20.1.2.2
Object
This object allows an NMS to configure the mode in which NTP/SNTP will operate. In unicast(1) mode, NTP/SNTP polls the server specified via the devNTPServerIP object. In broadcast(2) mode, NTP/SNTP polls by broadcasting a request so that any NTP/SNTP server could respond. Alternatively, in broadcast(2) mode, the client only listens for messages broadcasted by any server. In multicast(3) mode, the client listens for messages from any server sent to the multicast group defined for NTP/SNTP (224.0.1.1). Default value is broadcast(2).
Context
- MIB
- PDN-DEVICE-TIME-MIB
- OID
.1.3.6.1.4.1.1795.2.24.2.20.1.2.2- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- devNTP
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PDN-DEVICE-TIME-MIB' -M '/opt/observium/mibs/paradyne:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PDN-DEVICE-TIME-MIB::devNTPMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PDN-DEVICE-TIME-MIB' -M '/opt/observium/mibs/paradyne:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PDN-DEVICE-TIME-MIB::devNTPMode'