PTP

使用 UI 或 CLI 监控精确时间协议 (PTP),包括时钟层级和优先级、同步阈值和精度率。

仅在运行 Cumulus Linux 5.0.0 及更高版本的 Spectrum 交换机上支持 PTP 监控。

PTP 命令

使用以下命令监控 PTP。有关其他选项、定义和示例,请参阅命令行参考

   netq show ptp clock-details
   netq show ptp counters (tx | rx) 
   netq show ptp global-config
   netq show ptp port-status 
   netq show events message_type ptp

访问 PTP 仪表板

从标题或 菜单中,选择 Spectrum-X,然后选择 PTP

PTP 摘要仪表板显示

  • 时钟计数、类型和分布
  • PTP 相关事件的概述
  • PTP 违规(平均路径延迟和与主时钟的偏移)摘要
PTP summary screen displaying grandmaster clock details, events total, and violations summary

导航到事件选项卡以查看、筛选和排序 PTP 相关事件

detailed display of 133 PTP events, including list of devices with PTP-related events

在交换机上查看 PTP

  1. 在全局搜索字段中搜索设备的主机名,或从标题中选择 添加卡片 > 设备卡片

  2. 选择交换机并指定大卡片。

  3. 将鼠标悬停在卡片顶部,然后选择 PTP 选项卡

large switch card with PTP display selected
  1. 要获得更精细的数据,请将卡片展开至全尺寸,然后导航至 PTP
full screen graph of a switch's average offsest-from-master and average mean-path-delay statistics

将鼠标悬停在图表中的任何点,以显示带时间戳的平均路径延迟和与主时钟的偏移数据。您可以拖动底部栏以展开和压缩图中显示的时间段。

选择图表上方的选项卡以显示有关域、时钟、端口和配置的信息

clock domain, identiy, port, and quality information for the grandmaster clock