sync-interval

Configures the interval between Precision Time Protocol (PTP) synchronization (Sync) messages on an interface.

Syntax

sync-interval seconds
no sync-interval

Command Default

See Parameters.

Parameters

seconds
Interval between PTP Synch messages, in log seconds. Range is -4 through 2. The default is -1 (2 packets/second). See the Usage Guidelines. Range is -4 through 2. The default is -1 (2 packets/second).

Modes

PTP configuration mode

Interface subtype configuration mode

Usage Guidelines

The inputs for interval represent base 2 exponents, where the packet rate is 1/(2log seconds).

Configuring this interval on an edge port overrides the switch (global) default.

Important

Important

Do not configure a rate slower than the default on links between SLX devices.

Use the no form of this command to revert to the default.

Examples

To configure a PTP Sync interval of 2 on an Ethernet interface:

device# configure terminal
device(config)# interface ethernet 0/1
device(conf-if-eth-0/1)# protocol ptp
device(conf-if-eth-0/1-ptp)# sync-interval 2

To revert to the default PTP Sync interval of -1:

device# configure terminal
device(config)# interface ethernet 0/1
device(conf-if-eth-0/1)# protocol ptp
device(conf-if-eth-0/1-ptp)# no sync-interval