juniNtpClientAdminStatus

Juniper-System-Clock-MIB · .1.3.6.1.4.1.4874.2.2.56.2.2.1

Object

By enabling/disabling the NTP admin status, the router is enabled/
disabled to run as NTP client for the correction and synchronization of
the system clock time with the reliable time sources (stratum time
servers).  At any given time, only one NTP client can run on any router
on the system.
          
Sets the NTP admin status along with the routerIndex where NTP client
has be enabled in that router context.

Context

MIB
Juniper-System-Clock-MIB
OID
.1.3.6.1.4.1.4874.2.2.56.2.2.1
Type
scalar
Access
readwrite
Status
current
Parent
juniNtpClient
Groups
1

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Juniper-System-Clock-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-System-Clock-MIB::juniNtpClientAdminStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Juniper-System-Clock-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Juniper-System-Clock-MIB::juniNtpClientAdminStatus'

Syntax

Source
Juniper-TCJuniEnable
Base type
Enumeration

Values & Constraints

Type Values
0disable
1enable

Conformance