show ptp port
Syntax
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.
Field Name |
Field Description |
---|---|
Local Interface |
Local logical interface. |
|
IP address of the interface acting as the timeReceiver. |
|
IP address of the remote node. |
|
Unique index for each session created. |
|
The total number of times the port state has changed. |
|
The time elapsed after the last change was made to the port state. |
|
IP address of the timeReceiver. |
|
Status of the port: |
|
Interval in seconds between the delay request messages sent by the timeReceiver to the timeTransmitter. |
|
Logarithmic mean interval for the announce messages to be sent by the timeTransmitter. |
|
Number of times the announce interval message has to pass between the timeReceiver and the timeTransmitter without receipt of an announce message. |
|
Logarithmic mean interval for sync interval messages to be sent by the timeTransmitter. |
|
Type of delay mechanism used. |
|
PTP port number. |
|
Clock mode of the node. |
|
Unique clock-identity of the timeTransmitter. |
|
Previous announce messages. |
|
Current announce messages. |
Sample Output
- show ptp port brief
- show ptp port detail
- show ptp port ifl
- show ptp port detail (PTX10008)
- show ptp port status (PTX10008)
- show ptp port (PTX10004, PTX10008) (PTP Passive Port Monitoring enabled and configured as not-master and measure-only)
- show ptp port (PTX10004, PTX10008) (PTP Passive Port Monitoring enabled and configured as not-master)
- show ptp port (PTX10004, PTX10008) (PTP Passive Port Monitoring Enabled and configured as measure-only)
show ptp port brief
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
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
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)
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)
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)
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)
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)
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.