Configure NTP to PTP time conversion to enable the switch to use Network Time Protocol as a time source for Precision Time Protocol synchronization.
This task configures NTP to PTP time conversion to enable the switch to use Network Time Protocol as a time source for Precision Time Protocol synchronization.
Beginning with the Cisco IOS XE Dublin 17.12.x release, Cisco Catalyst IE3100 Rugged Series Switches are supported for NTP to PTP time conversion.
Before you begin
-
Review the PTP configuration and mode limitations.
-
To use the NTP to PTP conversion feature, the switch must have an IP address for NTP to function.
-
To use the NTP to PTP conversion feature, configure at least one NTP server. If you configure three or more NTP servers, NTP can ignore inaccurate clocks.
For information about configuring NTP, see Network Time Protocol
-
When you enter no with PTP port configuration commands, the specified port property is set to the default value.
-
To determine the value in seconds for the PTP global command interval variable, use a logarithmic scale. These examples show the interval variable value converted to seconds using a logarithmic scale:
|
Value Entered |
Logarithmic Calculation |
Value in Seconds |
|---|---|---|
|
-1 |
2 -1 |
1/2 |
|
0 |
2 0 |
1 |
Follow these steps to configure NTP to PTP time conversion:
Procedure
The switch is configured with NTP to PTP time conversion. The system can now use NTP as a time source for PTP synchronization when operating as a Grandmaster Clock with Boundary Clock functionality.
The example configuration shows the switch using the Default Profile, acting as Grandmaster Clock with NTP as the time source, and using the feedforward BC synchronization algorithm:
Device(config)# ptp mode gmc-bc delay-req
Device(config)# ptp transfer feedforward