不涉及
125设备作为NTP C/S模式的客户端,使用中出现如下日志:
%Aug 3 08:20:59:854 2022 NCP-P-COR-SW01 NTP/5/NTP_CLOCK_CHANGE: System clock changed from 00:20:59:996 08/03/2022 to 00:20:59:800 08/03/2022, the server is 11.195.77.33.
%Aug 3 08:42:29:118 2022 NCP-P-COR-SW01 NTP/5/NTP_CLOCK_CHANGE: System clock changed from 00:42:28:879 08/03/2022 to 00:42:29:064 08/03/2022, the server is 11.195.77.33.
设备运行打印相关日志,确认一下原因:
%Aug 3 08:20:59:854 2022 NCP-P-COR-SW01 NTP/5/NTP_CLOCK_CHANGE: System clock changed from 00:20:59:996 08/03/2022 to 00:20:59:800 08/03/2022, the server is 11.195.77.33.
%Aug 3 08:42:29:118 2022 NCP-P-COR-SW01 NTP/5/NTP_CLOCK_CHANGE: System clock changed from 00:42:28:879 08/03/2022 to 00:42:29:064 08/03/2022, the server is 11.195.77.33.
看前后时间差异,是NTP客户端与服务器的时间偏移超过128ms,触发时间同步了。为正常打印
%Aug 3 08:20:59:854 2022 NCP-P-COR-SW01 NTP/5/NTP_CLOCK_CHANGE: System clock changed from 00:20:59:996 08/03/2022 to 00:20:59:800 08/03/2022, the server is 11.195.77.33.
%Aug 3 08:42:29:118 2022 NCP-P-COR-SW01 NTP/5/NTP_CLOCK_CHANGE: System clock changed from 00:42:28:879 08/03/2022 to 00:42:29:064 08/03/2022, the server is 11.195.77.33.
缺省情况下,NTP客户端与服务器端的时间差经过多次采样得到的时间偏移超过128ms时,客户端将进行一次时间同步,并打印日志信息和告警信息。配置本功能后,NTP客户端与服务器端的时间差经过多次采样得到的时间偏移超过128ms时,客户端将进行一次时间同步,但是时间偏移大于log-threshold时,才会打印日志;时间偏移大于trap-threshold时,才会打印告警信息。
2. 配置步骤
(1) 进入系统视图。
system-view
(2) 配置NTP的时间同步日志打印阈值。
ntp-service time-offset-threshold { log log-threshold | trap trap-threshold } *
缺省情况下,未配置NTP打印日志和告警信息的时间偏移阈值。
不涉及
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作