Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


show ptp port



(MX80, MX240, MX480, MX960, PTX10008, and ACX710 routers) Display information about the number of ports created according to the configuration. For each unique local IP address, one Precision Time Protocol port is created.



Display information about the PTP port in brief.


Display information about the PTP port in detail.


Display PTP port information for a specific logical interface.

Required Privilege Level


Output Fields

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

Table 1: show ptp port Output Fields

Field Name

Field Description

Local Interface

Local logical interface.

Local IP

IP address of the interface acting as the client.

Remote IP

IP address of the remote node.

Clock Stream

Unique index for each session created.

State Changes

The total number of times the port state has changed.

Last Change

The time elapsed after the last change was made to the port state.

Clock Identity

IP address of the client.

Port State

Status of the port: PTP listening or PTP initializing.

Delay Req Interval

Interval in seconds between the delay request messages sent by the client to the primary.

Announce Interval

Logarithmic mean interval for the announce messages to be sent by the primary.

Announce Timeout

Number of times the announce interval message has to pass between the client and the primary without receipt of an announce message.

Sync Interval

Logarithmic mean interval for sync interval messages to be sent by the primary.

Delay Mechanism

Type of delay mechanism used.

Port Number

PTP port number.

Operating Mode

Clock mode of the node.

Master Clock ID

Unique clock-identity of the primary.

Previous Announce Messages

Previous announce messages.

Current Announce Message

Current announce messages.

Sample Output

show ptp port brief

show ptp port detail

show ptp port ifl

show ptp port detail (PTX10008)

Release Information

Command introduced in Junos OS Release 12.2.

ifl logical-interface-name added in Junos OS Release 16.1.