Configuring PTP Monitoring
PTP Monitoring records PTP information, including the offset from the master, mean path delay, and skew values, which you view using a show command. PTP Syslog messages generate the metrics with threshold values configured on the switch when enabled. EOS enables PTP Monitoring by default.
Enabling and Disabling PTP Monitoring
Use the ptp monitor command to enable PTP monitoring on the device. The no form of the command disables PTP monitoring and clears all of the recorded PTP data.
Example
switch(config)# no ptp monitor
Configuring the Offset-from-master Threshold
The offset is the difference in nanoseconds between master and slave time. Use the ptp monitor threshold offset-from-master command to specify the offset-from-master threshold in nanoseconds. EOS generates a Syslog message if the most recently calculated time offset from the PTP master occurs outside the configured range. The maximum offset threshold is one second. The no form of the command clears the threshold value and prevents further Syslog messages from generating for this parameter.
Example
switch(config)# ptp monitor threshold offset-from-master 500
Configuring the Mean-path-delay Threshold
Example
switch(config)# ptp monitor threshold mean-path-delay 2000
Configuring the Skew Threshold
PTP skew is the clock frequency difference between master and slave. Use the ptp monitor threshold skew command to configure the value of the skew-threshold percentage. A Syslog message generates if the value of the most recently calculated skew does not fall within the range (1/(1+<threshold>), 1*(1+<threshold>)). Skew threshold percentage represents a double precision (16 digit) real number ranging from 0 (0%) to 10 (1000%). The no form of the command clears the threshold value and prevents further Syslog messages from generating for this parameter.
Example
switch(config)# ptp monitor threshold skew 5