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 port

date_range 25-Sep-24

Syntax

content_copy zoom_out_map
show ptp port
<brief | detail>
ifl logical-interface-name

Description

(MX80, MX240, MX480, MX960, PTX10004, 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.

Options

brief

Display information about the PTP port in brief.

detail

Display information about the PTP port in detail.

logical-interface-name

Display PTP port information for a specific logical interface.

Required Privilege Level

View

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 timeReceiver.

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 timeReceiver.

Port State

Status of the port: PTP listening, PTP initializing or Passive.

Delay Req Interval

Interval in seconds between the delay request messages sent by the timeReceiver to the timeTransmitter.

Announce Interval

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

Announce Timeout

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

Sync Interval

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

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 timeTransmitter.

Previous Announce Messages

Previous announce messages.

Current Announce Message

Current announce messages.

Sample Output

show ptp port brief

content_copy zoom_out_map
user@host> show ptp port brief
PTP port-data:
Local Interface   : xe-0/0/18.0  
Local Address     : 98:a4:04:7f:19:15
Remote Address    : 01:1b:19:00:00:00
Clock Stream      : 0              Clock Identity    : 98:a4:04:ff:fe:7f:19:7f  
State Changes     : 2              Last Change       : 00:03:08 ago
Port State        : Master         Delay Req Interval: -4 
Announce Interval : -3             Announce Timeout  : 3  
Sync Interval     : -4             Delay Mechanism   : End-to-end
Port Number       : 1              Operating Mode    : Stateful

Local Interface   : xe-0/0/18.0  
Local Address     : 98:a4:04:7f:19:15
Remote Address    : 01:1b:19:00:00:00
Clock Stream      : 0              Clock Identity    : 98:a4:04:ff:fe:7f:19:7f  
State Changes     : 2              Last Change       : 00:03:08 ago
Port State        : Master         Delay Req Interval: -4 
Announce Interval : -3             Announce Timeout  : 3  
Sync Interval     : -4             Delay Mechanism   : End-to-end
Port Number       : 1              Operating Mode    : Stateful

show ptp port detail

content_copy zoom_out_map
user@host> show ptp port detail
PTP port-data:
Local Interface   : xe-0/0/18.0  
Local Address     : 98:a4:04:7f:19:15
Remote Address    : 01:1b:19:00:00:00
Clock Stream      : 0              Clock Identity    : 98:a4:04:ff:fe:7f:19:7f  
State Changes     : 2              Last Change       : 00:03:08 ago
Port State        : Master         Delay Req Interval: -4 
Announce Interval : -3             Announce Timeout  : 3  
Sync Interval     : -4             Delay Mechanism   : End-to-end
Port Number       : 1              Operating Mode    : Stateful
Local Priority    : 128            Asymmetry         : 0  
Vlan-id           : <null>
Priority          : <null>
Foreign Master Clock Details: 
Master Clock Id               : 98:a4:04:ff:fe:7f:19:7f
Previous Announce Messages    : 0   
Current Announce Messages     : 0 Local Interface   : xe-0/0/7.0   

Local Address     : 98:a4:04:7f:19:0a
Remote Address    : 01:1b:19:00:00:00   
Clock Stream      : 1              Clock Identity    : 98:a4:04:ff:fe:7f:19:7f  
State Changes     : 2              Last Change       : 00:03:08 ago
Port State        : Slave          Delay Req Interval: -4 
Announce Interval : -3             Announce Timeout  : 3  
Sync Interval     : -4             Delay Mechanism   : End-to-end
Port Number       : 2              Operating Mode    : Stateful
Local Priority    : 128            Asymmetry         : 0  
Vlan-id           : <null>              
Priority          : <null>              
Foreign Master Clock Details:           
Master Clock Id               : 98:a4:04:ff:fe:80:3a:7f
Previous Announce Messages    : 0       
Current Announce Messages     : 0

show ptp port ifl

content_copy zoom_out_map
user@host> show ptp port ifl ge-1/0/5.0
PTP port-data:
Local Interface   : ge-1/0/5.0
Local Address     : 2001:db8:00:05:85:73:b0:aa
Remote Address    : 01:1b:19:00:00:00   
Clock Stream      : 1              Clock Identity    : 98:a4:04:ff:fe:7f:19:7f  
State Changes     : 2              Last Change       : 00:03:08 ago
Port State        : Slave          Delay Req Interval: -4 
Announce Interval : -3             Announce Timeout  : 3  
Sync Interval     : -4             Delay Mechanism   : End-to-end
Port Number       : 2              Operating Mode    : Stateful
Local Priority    : 128            Asymmetry         : 0  
Vlan-id           : <null>              
Priority          : <null>              
Foreign Master Clock Details:           
Master Clock Id               : 98:a4:04:ff:fe:80:3a:7f
Previous Announce Messages    : 0       
Current Announce Messages     : 0

show ptp port detail (PTX10008)

content_copy zoom_out_map
user@host> show ptp port detail
PTP port-data:
Local Interface   : et-6/0/16:2.0
Local Address     : e4:5d:37:4e:d0:96
Remote Address    : 01:1b:19:00:00:00   
Clock Stream      : 1              Clock Identity    : 98:a4:04:ff:fe:7f:19:7f  
State Changes     : 2              Last Change       : 00:03:08 ago
Port State        : Slave          Delay Req Interval: -4 
Announce Interval : -3             Announce Timeout  : 3  
Sync Interval     : -4             Delay Mechanism   : End-to-end
Port Number       : 2              Operating Mode    : Stateful
Local Priority    : 128            Asymmetry         : 0  
Vlan-id           : <null>              
Priority          : <null>              
Foreign Master Clock Details:           
Master Clock Id               : 98:a4:04:ff:fe:80:3a:7f
Previous Announce Messages    : 0       
Current Announce Messages     : 0

show ptp port status (PTX10008)

content_copy zoom_out_map
user@host> show ptp port detail
PTP port-data:
Local Interface   : et-6/0/16:2.0
Local Address     : e4:5d:37:4e:d0:96
Remote Address    : 01:1b:19:00:00:00   
Clock Stream      : 1              Clock Identity    : 98:a4:04:ff:fe:7f:19:7f  
State Changes     : 2              Last Change       : 00:03:08 ago
Port State        : Slave          Delay Req Interval: -4 
Announce Interval : -3             Announce Timeout  : 3  
Sync Interval     : -4             Delay Mechanism   : End-to-end
Port Number       : 2              Operating Mode    : Stateful
Local Priority    : 128            Asymmetry         : 0  
Vlan-id           : <null>              
Priority          : <null>              
Foreign Master Clock Details:           
Master Clock Id               : 98:a4:04:ff:fe:80:3a:7f
Previous Announce Messages    : 0       
Current Announce Messages     : 0

show ptp port (PTX10004, PTX10008) (PTP Passive Port Monitoring enabled and configured as not-master and measure-only)

content_copy zoom_out_map
user@host> show ptp port
PTP port-data:

Local Interface   : et-0/0/16:1.0
Local Address     : e4:5d:37:4e:c8:19
Remote Address    : 01:1b:19:00:00:00
Clock Stream      : 5              Clock Identity    : e4:5d:37:ff:fe:4e:d7:76
Port State        : Passive        Delay Req Interval: -4
Announce Interval : -3             Announce Timeout  : 3
Sync Interval     : -4             Delay Mechanism   : End-to-end
Port Number       : 2              Operating Mode    : Stateful, Not-master, Measure-only
Local Priority    : 128

show ptp port (PTX10004, PTX10008) (PTP Passive Port Monitoring enabled and configured as not-master)

content_copy zoom_out_map
user@host> show ptp port
PTP port-data:

Local Interface   : et-0/0/16:1.0
Local Address     : e4:5d:37:4e:c8:19
Remote Address    : 01:1b:19:00:00:00
Clock Stream      : 5              Clock Identity    : e4:5d:37:ff:fe:4e:d7:76
Port State        : Passive        Delay Req Interval: -4
Announce Interval : -3             Announce Timeout  : 3
Sync Interval     : -4             Delay Mechanism   : End-to-end
Port Number       : 2              Operating Mode    : Stateful, Not-master
Local Priority    : 128

show ptp port (PTX10004, PTX10008) (PTP Passive Port Monitoring Enabled and configured as measure-only)

content_copy zoom_out_map
user@host> show ptp port
PTP port-data:

Local Interface   : et-0/0/16:1.0
Local Address     : e4:5d:37:4e:c8:19
Remote Address    : 01:1b:19:00:00:00
Clock Stream      : 5              Clock Identity    : e4:5d:37:ff:fe:4e:d7:76
Port State        : Passive        Delay Req Interval: -4
Announce Interval : -3             Announce Timeout  : 3
Sync Interval     : -4             Delay Mechanism   : End-to-end
Port Number       : 2              Operating Mode    : Stateful, Measure-only
Local Priority    : 128

Release Information

Command introduced in Junos OS Release 12.2.

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

footer-navigation