PTP Passive Port Performance Monitoring on PTX10004 and PTX10008 Devices
The Precision Time Protocol (PTP) passive port performance monitoring feature can be enabled on stateful ports (as per G.8275.1 Annex G) for PTX10004 and PTX10008 platform with LC1201 and LC1202 line-cards.
The PTP passive port performance monitoring feature:
- is used to monitor the PTP performance at a passive port. The passive port state is defined in ITU-T-G.8275.1 specifications.
-
supports
not-master
andmeasure-only
per PTP port attributes for stateful ports. -
can be configured on a maximum of four ports (including one active member port).
-
supports configurable delay request rates of passive ports.
-
supports PTP passive port minor alarms when performance metrics exceed the configured thresholds.
-
is supported on LAG interfaces on PTP selected active interface. The source port is same for the primary or secondary links because the port-numbers belong to the aggregated Ethernet (AE) interface.
The following alarm is supported for PTP performance monitoring:
Alarms | Reason | Type | Raise Condition | Clear Condition |
---|---|---|---|---|
ALARM_REASON_PTP_PHASE_ DIFFERENCE_THRESHOLD_ EXCEEDED_PTP |
PTP phase difference measurement exceeds configured threshold for the monitored port | Minor Interface Alarm |
Alarm is raised when the measured phase-difference of the monitored
interface exceeds configured threshold over 15 minutes interval and
the configuration |
Alarm is cleared when the measured phase difference at the monitored
interface is below the configured threshold over 15 minutes interval
and the configuration |
Limitations:
• Two-step clock in master mode is not supported in PTP FPGA mode.
• PTP with MACSec encryption is not supported.
Configuring PTP Passive Port Performance Monitoring
To quickly configure this example, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy level.
-
Configure
set protocols ptp performance-monitor passive-port
to enable the PTP passive port performance monitoring feature.user@root> set protocols ptp performance-monitor passive-port
-
Configure
set protocols ptp performance-monitor passive-port delay-request-rate <delay-request-value>
to set the delay request rate for port monitoring.This configuration is used for raising PTP performance alarm when the measured phase error exceeds the threshold over 15 minutes interval.
The default value is -4 and the value ranges from-4
to+4
. For example,user@root> set protocols ptp performance-monitor passive-port delay-request-rate -4
To configure PTP passive port performance monitoring for stateful interfaces, use
For example,set protocols ptp stateful interface <interface-number> passive-port-monitor
command. It sets the interface port to monitor-mode. The port is now monitored when it moves to passive state. This command is supported only for multicast mode.user@root> set protocols ptp stateful interface 1 passive-port-monitor
-
Use
For example,set protocols ptp stateful interface interface-name passive-port-monitor maximum-phase-offset-threshold <offset-threshold-value>
to set the interface PTP passive port performance monitoring maximum phase offset threshold. This configuration is used for raising PTP performance alarm when the measured phase error exceeds the threshold over 15 minutes interval. The value is defined in nano seconds and range from 0 to 100000000. The default value is 100ms.user@root> set protocols stateful interface et-0/0/34 passive-port-monitor maximum-phase-offset-threshold 10000
-
Use
set protocols ptp stateful interface interface–-name not–master
to configurenot-master
per PTP port attribute for stateful ports. This ensures the port is never placed in timeTransmitter state but can be placed in passive or member state. This configuration is independent of passive-port-monitoring feature and is supported only for multicast mode. For example:user@root> set protocols stateful interface et-0/0/34 not-master
Use
set protocols ptp stateful interface interface–-name passive-port-monitor measure-only
to configure the stateful port asmeasure-only
. This ensures the port is never placed in timeTransmitter or member state but can be placed in passive state. This configuration is independent of thenot-master
configuration and supported only for multicast mode.user@root> set protocols stateful interface et-0/0/34 passive-port-monitor measure-only
Results
Check the results of the configuration using the show ptp
global-information
, show ptp
passive-port-monitor-status
and show ptp port
commands. For example:
-
show ptp global-information
output with PTP passive port performance monitoring enabled:user@root> show ptp global-information PTP Global Configuration: Domain number : 24 Clock mode : Boundary Profile type : G.8275.1 Priority Level1 : 128 Priority Level2 : 128 Local Priority : 128 Path Trace : Disabled Unicast Negotiation : Disabled ESMC QL From Clock Class: Disabled Clock Class/ESMC QL : - SNMP Trap Status : Disabled PHY Time Stamping : Enabled UTC Leap Seconds : 37 Transparent-clock-config : DISABLED Transparent-clock-status : N/A PPM Status : ENABLED PPM Delay Request Interval : -4 (16 packets per second) Slave Parameters: Sync Interval : <not applicable> Delay Request Interval: -4 (16 packets per second) Announce Interval : <not applicable> Announce Timeout : 3 Grant Duration : <not applicable> Master Parameters: Sync Interval : -4 (16 packets per second) Announce Interval : -3 (8 packets per second) Delay Request Timeout : <not applicable> Clock Step : one-step Arbitrary Mode : FALSE Number of Slaves : 0 Number of Masters : 1 Number of Stateful : 1
-
show ptp passive-port-monitor status
command output with PTP passive port performance monitoring enabled and configured as not-master.user@root> show ptp passive-port-monitor-status PPM Status : ENABLED PPM Delay Request Interval : -4 (16 packets per second) Actively Monitored-PTP ports data: Local Interface : ae0.4094 (et-4/0/0, primary) Clock Stream : 5 Source-Port-ID : 00:cc:34:ff:fe:77:c4:57 Port : 5 Destination-Port-ID : 00:cc:34:ff:fe:77:c8:de Port : 1 Port State : Passive Operating Mode : Stateful PhaseOffsetThreshold(ns) : 100000 Configured role : Not-master Measurement-status : Valid Latest measurement data : Timestamp : Aug 20 22:26:16 PhaseOffsetFromMaster(ns): 15 / 17 / 791 (min/mean/max) Master->slave delay(ns) : 0 / 1575 / 1584 (min/mean/max) Slave->master delay(ns) : 0 / 1540 / 1582 (min/mean/max) Mean-path-delay(ns) : 1557 (mean)
-
show ptp port
command output withmeasure-only
andnot-master
configured on the stateful port with PTP passive port performance monitoring enabled.user@root> 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