We run PTP auto-client with multiple clients connected to master.
The CLI shows all remote peers correctly, but the related SNMP Walk lists only one from CLI list.
clock-mode boundary;
profile-type g.8275.2.enh;
domain 44;
unicast-negotiation;
ipv6-dscp 46;
slave {
delay-request -6;
announce-timeout 3;
announce-interval -1;
sync-interval -6;
interface ae491.0 {
unicast-mode {
transport ipv6;
local-priority 128;
clock-source a:b:e:25:: local-ip-address a:b:e:25::1;
}
primary et-0/0/48;
master {
min-announce-interval -1;
min-sync-interval -6;
min-delay-response-interval -6;
interface et-0/0/1.201 {
clock-client a:b:e:f::/64 local-ip-address a:b:e:f::g;
phase-adjust-threshold 4400;
phase-lock-threshold 400;
frequency-lock-threshold 6;
The CLI shows all remote peers correctly:
-----------------------------------------
show ptp master detail
PTP Master Interface Details:
Interface : et-0/0/1.201
Status : Master, Active
Clock Info :
Local Address: a:b:c:d Status: Configured, Master, Active
Remote Address: a:b:e:f:: Status: Configured, Slave, Active
Remote Address: a:b:e:f::g Status: AUTO SLAVE, Sig State: Ann + Sync
...
Total Remote Slaves: 16
Nevertheless the related SNMP Walk lists only one (the last) from above list:
-----------------------------------------------------------------------------
show snmp mib walk decimal 1.3.6.1.4.1.2636.3.75.1.3
jnxPtpServoState.0 = 5
jnxPtpClass.0 = 6
jnxPtpGmId.0 = 84 c8 07 ff fe 62 18 01
jnxPtpPhaseOffset.0 = 0.000000021 sec
jnxPtpServoStateStr.0 = PHASE ALIGNED
jnxPtpPhaseOffsetThresholdExceeded.0 = PTP phase threshold not exceeded
jnxPtpUtcOffset.0 = 37
jnxPtpAdvClockClass.0 = 6
jnxPtpUtcValid.0 = 1
jnxTimingFrequencyTraceability.0 = 1
jnxTimingTimeTraceability.0 = 1
jnxClksyncPtpOperationalMasters.0.1 = et-0/0/1.201
jnxClksyncPtpOperationalMasters.0.2 = a:b:c:d
jnxClksyncPtpOperationalMasters.0.3 = 0
jnxClksyncPtpOperationalMasters.0.4 = a:b:e:f::h
jnxClksyncPtpOperationalSlaves.0.1 = ae491.0
jnxClksyncPtpOperationalSlaves.0.2 = a:b:e:25::1
jnxClksyncPtpOperationalSlaves.0.3 = 1
jnxClksyncPtpOperationalSlaves.0.4 = a:b:e:25::
On all Junos Evolved, when you set up the G.8275.2.enh auto client on the device, the show ptp master detail command shows full information about all remote clients.
But when you check using SNMP walk for the master, it only shows part of the remote clock details.
This is because the remote clock count was not considered for PTP Autoclient remote slave.
This is fixed via PR1920689.