You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Summary

Precision Time Protocol is used to synchronize clocks throughout the network. On a local area network, it achieves clock accuracy in the sub-microsecond range, making it suitable for measurement and control systems. RouterOS supports IEEE 1588-2008, PTPv2. Support is hardware dependant and currently, only select CRS3xx models support it.

Supported features:

  • Boundary/Ordinary clock
  • E2E mode
  • UDP over IPv4 multicast mode
  • runs in domain 0
  • priority1 can be configured to decide master/slave
  • PTP clock IS NOT synced with the system clock

General properties

Sub-menu: /system ptp


PropertyDescription
portSub-menu used for adding, removing, or viewing assigned ports
statusSub-menu that shows PTP ports, their state, and delay on slave ports
comment (string; Default: )

Short description of the PTP profile

name (string; Default: )Name of the PTP profile
delay-mode (auto | e2e | ptp; Default: auto)Configures delay mode for PTP profile
    • auto - selects delay mode automatically
    • e2e - use the delay request-response mechanism
    • ptp - use the peer delay mechanism
priority1 (integer [0..255]; auto; Default: auto)the priority value for influencing grandmaster election, the default value of auto corresponds to 128
profile (802.1as; default; g8275.1; Default: default)

IEEE 1588-2008 includes a profile concept defining PTP operating parameters and options. "default" value corresponds to 802.1as.

IEEE 802.1AS is an adaptation of PTP for use with Audio Video Bridging and Time-Sensitive Networking.

g8275.1 profile is for frequency and phase synchronization in a fully PTP-aware network.

transport (auto; ipv4; 12; Default: auto)transport protocol IPv4 or IPv6?, the default value of auto is - ?


Note

For more details regarding Precision Time Protocol please see the following standards IEEE 1588 and IEEE 802.1as.

Different 802.1as profiles are not interoperable, g8275.1 requires priority "auto", to be set.

Configuration

To configure the device to participate in PTP you first need to create a PTP profile:

/system ptp add name=ptp1
#to view the created profile use
/system ptp print 
Flags: I - inactive, X - disabled 
0 name="ptp1" priority1=auto delay-mode=auto transport=auto profile=auto 

Note

Only 1 PTP profile is supported per device


After creating a PTP profile, you need to assign ports to it:

/system ptp port add interface=ether1 ptp=ptp1
#to view assigned ports use
/system ptp port print 
Flags: I - inactive 
0 ptp=ptp1 interface=ether8 

1 ptp=ptp1 interface=ether22 

To monitor the PTP profile, use the monitor command:

#on grandmaster device
[admin@grandmaster] > system ptp monitor numbers=0
name: test
clock-id: 64:D1:54:FF:FE:EB:AE:C3
priority1: 30
priority2: 128
i-am-gm: yes

#on non-grandmaster device
[admin@328] /system ptp monitor 0
name: ptp1
clock-id: 64:D1:54:FF:FE:EB:AD:C7
priority1: 128
priority2: 128
i-am-gm: no
gm-clock-id: 64:D1:54:FF:FE:EB:AE:C3
gm-priority1: 30
gm-priority2: 128
master-clock-id: 64:D1:54:FF:FE:EB:AE:C3
slave-port: ether8
freq-drift: 2147483647 ppb
offset: 1396202830 ns
hw-offset: 1306201921 ns
slave-port-delay: 2075668440 ns

Monitor properties

PropertyDescription








Supported devices

Supported on:
CRS326-24G-2S+
CRS328-24P-4S+
CRS317-1G-16S+
CRS326-24S+2Q+
CRS312-4C+8XG
CRS318-16P-2S+
Not supported:
CRS305-1G-4S+
CRS309-1G-8S+
CRS328-4C-20S-4S+
CRS354-48G-4S+2Q+



  • No labels