Juniper-System-Clock-MIB :: juniNtpPeerState

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsJuniper-System-Clock-MIBjuniNtpPeerState

juniNtpPeerState

Module: Juniper-System-Clock-MIB

OID (symbolic): Juniper-System-Clock-MIB::juniNtpPeerState

OID (numeric): 1.3.6.1.4.1.4874.2.2.56.2.4.2.1.1

Node type: OBJECT-TYPE

Type: OCTET STRING

Access: read-only

Description: Displays the peer server association state to NTP client on the system.

 Bit  Peer State           Description
 --- ----------  ------------------------------------------------
  0   master      Means NTP client on the system has chosen this peer
                  server as the master.
  1   configured  Confirms peer server configured for the  NTP client.
  2   selected    NTP client will consider this peer server when it
                  chooses the master.
  3   unusable    Indication that the server does not meet the initial
                  criteria for the master
  4   preferred   Indicates as preferred  time source.
  5   correct     NTP client considers the  peer server's clock is
                  reasonably correct.
  6   incorrect   NTP client considers the  peer server's clock is
                  not reasonably correct
  7   reserved

Each bit position value of 0 and 1 disables and enables that peer
state respectively. 

What is juniNtpPeerState?

An 8-bit flag field reporting a peer server's association state, per its DESCRIPTION: bit 0 master (chosen as the system's master clock), bit 1 configured, bit 2 selected (a master candidate), bit 3 unusable, bit 4 preferred, bit 5 correct, bit 6 incorrect, bit 7 reserved. Checking bit 0 here is how an admin confirms which specific peer the system is actually synchronizing its clock against.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.4874.2.2.56.2.4.2.1.1
snmpwalk -v2c -c public <target> Juniper-System-Clock-MIB::juniNtpPeerState

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.4874.2.2.56.2.4.2.1.1.1
snmpget -v2c -c public <target> Juniper-System-Clock-MIB::juniNtpPeerState.1

Start monitoring Juniper Networks E-series router (system clock/timezone/NTP) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the Juniper-System-Clock-MIB::juniNtpPeerState OID value, configure state conditions and alerts, and monitor any Juniper Networks E-series router (system clock/timezone/NTP) from a single console.

OID Breakdown

Upper-level ancestors (10 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.4874juniperUniJuniper-UNI-SMI
1.3.6.1.4.1.4874.2juniperUniMibsJuniper-UNI-SMI
1.3.6.1.4.1.4874.2.2juniMibsJuniper-MIBs
1.3.6.1.4.1.4874.2.2.56juniSysClockMIBJuniper-MIBs
Numeric OIDNameModule
1.3.6.1.4.1.4874.2.2.56.2juniNtpObjectsJuniper-System-Clock-MIB
1.3.6.1.4.1.4874.2.2.56.2.4juniNtpPeersJuniper-System-Clock-MIB
1.3.6.1.4.1.4874.2.2.56.2.4.2juniNtpPeerTableJuniper-System-Clock-MIB
1.3.6.1.4.1.4874.2.2.56.2.4.2.1juniNtpPeerEntryJuniper-System-Clock-MIB
1.3.6.1.4.1.4874.2.2.56.2.4.2.1.1juniNtpPeerStateJuniper-System-Clock-MIB