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
Junos CLI Reference
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

show ptp statistics

date_range 25-Sep-24

Syntax

content_copy zoom_out_map
show ptp statistics
<brief | detail>

Description

Display information about Precision Time Protocol (PTP) statistics.

Options

brief

Display brief statistics about the operation of configured PTP clocks.

detail

Display detailed statistics about the operation of configured PTP clocks.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show ptp statistics command. Output fields are listed in the approximate order in which they appear.

Table 1: show ptp statistics Output Fields

Field Name

Field Description

Local Address

IP address of the local PTP timeTransmitter and timeReceiver interfaces.

Remote Address

IP address of the remote PTP timeTransmitter and timeReceiver interfaces.

Role

Function performed by an Ethernet interface configured as a timeReceiver or timeTransmitter.

Stream

Stream ID uniquely identifies the connection between one timeTransmitter and one timeReceiver.

Received

1588v2 packets received by the timeTransmitter or timeReceiver interface.

For the QFX Series, all packets transmitted by the timeTransmitter or timeReceiver interface.

Transmitted

1588v2 packets transmitted by the timeTransmitter or timeReceiver interface.

For the QFX Series, all packets transmitted by the timeTransmitter or timeReceiver interface.

Signalling

Packet count for signalling messages:

  • Rx—Number of packets received.

  • Tx—Number of packets transmitted.

Announce

Packet count for announce messages:

  • Rx—Number of packets received.

  • Tx—Number of packets transmitted.

Sync

Packet count for synchronization messages:

  • Rx—Number of packets received.

  • Tx—Number of packets transmitted.

Delay

Packet count for delay request or response messages:

  • Rx—Number of packets received.

  • Tx—Number of packets transmitted.

Error

Packet count for signal loss errors:

  • Rx—Number of packets received with errors.

  • Tx—Number of packets transmitted with errors.

Sample Output

show ptp statistics

content_copy zoom_out_map
user@host> show ptp statistics
Local Address    Remote Address     Role  Stream      Received  Transmitted
2.2.2.2          10.10.20.50       Slave       0         45716        22826
6.6.6.2          6.6.6.1          Master       4         24960        74880

show ptp statistics

content_copy zoom_out_map
user@host> show ptp statistics
Local Clock      Remote Clock                              Role  Stream      Received  Transmitted
        ge-0/1/5.0       2001:cdba:0000:0000:0000:0000:3257:9653 Master      4        727205       345698
        ge-0/2/0.0       2001:cdba:0000:0000:0000:0000:3256:0101 Master      5       4493776      2222524

show ptp statistics detail

content_copy zoom_out_map
user@host> show ptp statistics detail
Local Address    Remote Address     Role  Stream      Received  Transmitted
2.2.2.2          10.10.20.50       Slave       0         47009        23470
         Signalling    Announce        Sync       Delay       Error
   Rx:            5         184       23399       23426           0
   Tx:           45           0           0       23426           0

6.6.6.2          6.6.6.1          Master       4         25600        76800
         Signalling    Announce        Sync       Delay       Error
   Rx:            0           0           0       25600           0
   Tx:            0       25600       25600       25600           0

show ptp statistics detail

content_copy zoom_out_map
user@host> show ptp statistics detail
Local Clock      Remote Clock       Role  Stream      Received  Transmitted
ge-0/1/5.0       2001:cdba:0000:0000:0000:0000:3257:9653  Master      4        727205       345698
         Signalling    Announce        Sync       Delay       Error
   Rx:            0       33978      347535      345692           6
   Tx:            0           0           0      345698           0
Local Clock      Remote Clock       Role  Stream      Received  Transmitted
ge-0/2/0.0       2001:cdba:0000:0000:0000:0000:3256:0101 Master      5       4493776      2222524
         Signalling    Announce        Sync       Delay       Error
   Rx:            0       36819     2234472     2222485          14
   Tx:            0           0           0     2222524           0

show ptp statistics )

content_copy zoom_out_map
user@host> show ptp statistics
Local Clock      Remote Clock       Role  Stream      Received  Transmitted
ae0.0            2003::a           Slave       0        666694       331379
lo0.0            2002::1          Master       4        696526      1405758
lo0.0            3001::1:133      Master       5        680312      1373318

show ptp statistics detail

content_copy zoom_out_map
user@host> show ptp statistics detail
Local Clock      Remote Clock       Role  Stream      Received  Transmitted
xe-0/0/6:0.0     224.0.1.129       Slave       0             0            0
         Signalling    Announce        Sync       Delay       Error
   Rx:            0        1688      217905      129833         131
   Tx:            0           0           0      130608           0 


Local Clock      Remote Clock       Role  Stream      Received  Transmitted
xe-0/0/6:1.0     224.0.1.129      Master       0             0        80517
         Signalling    Announce        Sync       Delay       Error
   Rx:            0           0           0           0           0
   Tx:            0         625       79892           0           0

Local Clock      Remote Clock       Role  Stream      Received  Transmitted
xe-0/0/6:1.0     50.50.50.2       Master       0        249980       249980
         Signalling    Announce        Sync       Delay       Error
   Rx:            0           0           0      249980           0
   Tx:            0           0           0      249980           0

Local Clock      Remote Clock       Role  Stream      Received  Transmitted
xe-0/0/6:1.0     50.50.50.3       Master       0         18520        18600
         Signalling    Announce        Sync       Delay       Error
   Rx:            0           0           0       18520           0
   Tx:            0           0           0       18600           0

Local Clock      Remote Clock       Role  Stream      Received  Transmitted
xe-0/0/6:1.0     50.50.50.10       Master       0            0            0
         Signalling    Announce        Sync       Delay       Error
   Rx:            0           0           0           0           0
   Tx:            0           0           0           0           0

show ptp statistics detail

content_copy zoom_out_map
user@host> show ptp statistics detail
Local Clock      Remote Clock       Role  Stream      Received  Transmitted
ae0.0            2003::a           Slave       0        167235        82773
         Signalling    Announce        Sync       Delay       Error
   Rx:           15        1303       83174       82758           0
   Tx:           17           0           0       82761           0 
Local Clock      Remote Clock       Role  Stream      Received  Transmitted
lo0.0            2002::1          Master       4         82152       167879
         Signalling    Announce        Sync       Delay       Error
   Rx:          132           0           0       82020           0
   Tx:          132        1320       84407       82020           0 
Local Clock      Remote Clock       Role  Stream      Received  Transmitted
lo0.0            3001::1:133      Master       5           131         1450
         Signalling    Announce        Sync       Delay       Error
   Rx:          131           0           0           0           0
   Tx:          131        1319           0           0           0

Release Information

Command introduced in Junos OS Release 12.3.

footer-navigation