All MIBs › Juniper-System-Clock-MIB › juniNtpPeerState
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 OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.4874 | juniperUni | Juniper-UNI-SMI |
| 1.3.6.1.4.1.4874.2 | juniperUniMibs | Juniper-UNI-SMI |
| 1.3.6.1.4.1.4874.2.2 | juniMibs | Juniper-MIBs |
| 1.3.6.1.4.1.4874.2.2.56 | juniSysClockMIB | Juniper-MIBs |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.4874.2.2.56.2 | juniNtpObjects | Juniper-System-Clock-MIB |
| 1.3.6.1.4.1.4874.2.2.56.2.4 | juniNtpPeers | Juniper-System-Clock-MIB |
| 1.3.6.1.4.1.4874.2.2.56.2.4.2 | juniNtpPeerTable | Juniper-System-Clock-MIB |
| 1.3.6.1.4.1.4874.2.2.56.2.4.2.1 | juniNtpPeerEntry | Juniper-System-Clock-MIB |
| 1.3.6.1.4.1.4874.2.2.56.2.4.2.1.1 | juniNtpPeerState | Juniper-System-Clock-MIB |