Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

show ptp statistics

Syntax

show ptp statistics<brief | detail>

Release Information

Command introduced in Junos OS Release 12.3.

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

List of Sample Output

show ptp statistics
show ptp statistics detail

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 master and slave interfaces.

Remote Address

IP address of the remote PTP master and slave interfaces.

Role

Function performed by an Ethernet interface configured as a slave or master.

Stream

Stream ID uniquely identifies the connection between one master and one slave.

Received

1588v2 packets received by the master or slave interface.

Transmitted

1588v2 packets transmitted by the master or slave 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

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 detail

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

Published: 2013-01-11