主要用到的软件有 ptp4l 和 phc2sys。详细操作可以参考相关文档。gPTP配置 [global] # # Default Da...
neighborPropDelayThresh peer delay最大阈值,单位ns,超过该值则认为对端设备是非gPTP设备20000000masterOnly 绕过BMCA,使clock工作在master模式0G.8275.portDS.localPriority ITU-T G.8275.1and G.8275.2使用128min_neighbor_prop_delay peer delay最小阈值,单位ns,低于该值则认为对端设备是非gPTP设备-20000000tsproc_...
交换机1口连接电脑,交换机其他口连接设备,在电脑上开启时间同步服务器,我们设备使用ptp4l的时候,交换机配置是1口不开启ptp,其他口开启ptp功能,此时可以正常同步时间。将模式改为gptp后,无法正常同步时间。 过程分析 交换机配置: system-view clock protocol ptp ptp profile 8021asptp mode bcptp domain 0 interfac...
将总延迟保持在最小不仅是一项具有挑战性的任务,而且是一个持续的问题。
running in gPTP mode according to the 802.1AS-2011 standard. Setting this option to zero will disable the sync message timeout. The default is 0 or disabled. .TP .B transportSpecific The transport specific field. Must be in the range 0 to 255. The default is 0. .TP .B ...
读取配置。 调用功能config_create()创建config实例,并从全局变量config_tab[]数组读取默认配置值。 调用config_create_interface(),从命令行选项解析网络接口。 调用clock_read(),从配置文件读取用户配置值。 调用clock_create()创建clock实例,以及其下的port、transport、tsproc实例等。初始化每个port的定时器fd和sock...
gPTP配置 [global] # # Default Data Set # twoStepFlag1 gmCapable1 priority1248 priority...
inhibit_delay_req 禁止发送任何delay request,需要配置asCapable为true。 0(disabled) announceReceiptTimeout 没有收到Announce报文的数目,用来判断Announce报文超时。 3 syncReceiptTimeout 没有收到sync/follow报文的数目,用于gPTP模式判断Sync是否超时,是否触发best master clock选择。 0(disabled) ...
• Sync receipt timeout.没有收到sync/follow报文的数目,用于gPTP模式判断Sync是否超时,是否触发best...