Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Timing and Synchronization Guide
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

SNMP MIB for Timing on Routing Platforms

date_range 20-Dec-24

This topic talks about theJunos OS support for SNMP get, get-next, and walk management capabilities for timing features.

Junos OS for ACX Universal Metro Routers supports SNMP get, get-next, and walk management capabilities for timing features. These capabilities are enabled through the PTP MIB, SyncE MIB and GPS MIB timing objects.

Note:

The PTP MIB and SyncE MIB timing objects are grouped under the jnxTimingNotfObjects SNMP MIB object.

Table 1 shows the list of SNMP MIB objects supported for SNMP get, get-next, and walk management on ACX Universal Metro Routers.

Table 1: SNMP MIB Objects for get, get-next, and walk management

SNMP MIB

Object

Description

PTP MIB

jnxPtpServoState

Denotes the following PTP Servo states:

  • INITIALIZING

  • ACQUIRING

  • PHASE ALIGNED

  • FREERUN

  • HOLDOVER

  • FREQUENCY LOCKED

jnxPtpServoStateStr

Denotes the PTP Servo state string:

  • INITIALIZING

  • ACQUIRING (TimeTransmitter is elected and servo starts acquiring lock)

  • PHASE ALIGNED (Locked to TimeTransmitter)

  • FREERUN (no PTP source available)

  • HOLDOVER (Member locked to PTP for more than 12 hours and then loses all the PTP sources)

jnxPtpClass

Denotes the class of the PTP grandmaster clock.

jnxPtpGmId

Denotes the PTP grandmaster clock identifier.

(ACX7332, ACX7348)
jnxPtpPhaseOffset Denotes the PTP phase offset.
jnxPtpUtcOffset Denotes the PTP UTC offset.
jnxPtpAdvClockClass Denotes the PTP Advertised clock class.
jnxTimingFrequencyTraceability Denotes the frequency traceability indicator.
jnxTimingTimeTraceability Denotes the time traceability indicator.
jnxClksyncPtpOperationalMasters Denotes the PTP operational masters.
jnxClksyncPtpOperationalSlaves Denotes the PTP operational timeReceiver clocks.

SyncE MIB

jnxClksyncQualityCode

Denotes the SSM/ESMC quality level of the locked source in decimal format.

jnxClksyncQualityCodeStr

Denotes the SSM/ESMC quality level of the locked source in string format

jnxClksyncIfIndex

Denotes the interface index of the locked source in decimal format.

jnxClksyncIntfName

Denotes the interface name of the locked source in string format.

(ACX7332, ACX7348)
jnxClksyncSynceQualityTable Denotes the SyncE table to get quality metrics for all configured sources.
jnxClksyncSynceQualityEntry Denotes the SyncE table entry to get quality metrics for all configured sources.
jnxClksyncSynceQualityIntfName Denotes the interface name of the configured source.
jnxClksyncSynceQualityValue Denotes the quality level of the configured source.
jnxClksyncSynceLockedIfIndex Denotes the locked SNMP ifIndex of member interface.

jnxClksyncSynceLockedIntfName

Denotes the SyncE interface name.
jnxClksyncDpllState Denotes the SyncE DPLL states.

jnxClksyncDpllStateStr

Denotes the DPLL state in string format.

GPS MIB

jnxGpsRecvStatus

Displays the status of the GPS receiver.

Note:
  • The SNMP get and walk management are supported only for scalar objects.

    Use the show snmp mib get> and show snmp mib walk <oid> commands to view the configured SNMP MIB objects.

  • For SyncE objects, the jnxClksyncQualityCode, jnxClksyncQualityCodeStr, jnxClksyncIfIndex, and jnxClksyncIntfName objects displays only for locked source.

  • For additional details, see Timing MIBs and Notifications.

You can use the show chassis synchronization extensive, show ptp lock-status detail, show snmp mib get <MIB-timing-objects>, and show snmp mib walk jnxTimingNotfObjects show commands for monitoring and troubleshooting purposes.

The following are the sample show command outputs for reference:

show chassis synchronization extensive

content_copy zoom_out_map
user@host> show chassis synchronization extensive

Current clock status  : Locked
Clock locked to       : Primary
SNMP trap status : Enabled

Configured sources:

Interface           : ge-0/0/7
Status              : Secondary     Index       : 136
Clock source state  : Clk qualified Priority    : Default(8)
Configured QL       : SEC           ESMC QL     : PRC
Clock source type   : ifd           Clock Event : Clock qualified
Interface State     : Up,sec,ESMC Rx(SSM 0x2),ESMC TX(QL SEC/SSM 0xb),

Interface           : ge-0/1/1
Status              : Primary       Index       : 138
Clock source state  : Clk qualified Priority    : Default(8)
Configured QL       : PRC           ESMC QL     : PRC
Clock source type   : ifd           Clock Event : Clock locked
Interface State     : Up,pri,ESMC Rx(SSM 0x2),ESMC TX(QL DNU/SSM 0xf)

show chassis synchronization extensive

content_copy zoom_out_map
user@host> show chassis synchronization extensive

Configured ports:

Name                : auxiliary
Rx status           : active
Rx message          : TL000001433759011353
Current ToD         : Mon Jun  8 10:23:31 2015
Last ToD update     : Mon Jun  8 10:23:30 2015
GPS receiver status : Lost Sync
UTC Pending         : FALSE
UTC Offset          : 35

One PPS status : Active

Configured sources:

Interface           : gps
Status              : Primary       Index       : 1
Clock source state  : Clk failed    Priority    : Default(6)
Configured QL       : PRC           ESMC QL     : DNU
Clock source type   : extern        Clock Event : Clock failed
Interface State     : Up,pri

show ptp lock-status detail

content_copy zoom_out_map
user@host> show ptp lock-status detail

Lock Status:

Lock State    : 1 (FREERUN)
Phase offset  : 0.000000000 sec
State since   : 2015-05-04 03:13:49 PDT (00:01:45 ago)

Selected Master Details:
Upstream Master address    : 61.1.1.2
Slave interface            : ge-0/1/1.0
Parent Id                  : 40:b4:f0:ff:fe:42:f5:00
GMC Id                     : 40:b4:f0:ff:fe:42:d5:00

show snmp mib get <MIB-timing-objects>

content_copy zoom_out_map
user@host> show snmp mib get jnxGpsRecvStatus.0

jnxGpsRecvStatus.0 = Lost Sync

show snmp mib walk jnxTimingNotfObjects

content_copy zoom_out_map
user@host> show snmp mib walk jnxTimingNotfObjects

jnxClksyncIfIndex.0 = 138
jnxClksyncIntfName.0 = ge-0/1/1
jnxClksyncQualityCode.0 = 2
jnxPtpServoState.0 = 1
jnxPtpClass.0 = 6
jnxPtpGmId.0  = 40:b4:f0:ff:fe:42:d5:00
jnxClksyncQualityCodeStr.0 = PRC
jnxPtpServoStateStr.0 = FREERUN

footer-navigation