华为交换机:配置为ntp服务器

华为交换机:配置为ntp服务器
[huawei] clock timezone Beijing add 08:00:00
<huawei>clock datetime 15:06:55 2024-02-16
<huawei>

 ntp-service refclock-master命令用来设置本地时钟作为NTP主时钟,为其它设备提供同步时间。
[huawei]ntp-service refclock-master 2
Warning: The NTP IPv4 server function is disabled. Run the undo server disable command to enable the IPv4 server function.
Warning: The NTP IPv6 server function is disabled. Run the undo IPv6 server disable command to enable the IPv6 server function.
指定NTP主时钟所处的层数。
如果不指定该参数,则层数为缺省值。
整数形式,取值范围是1~15。缺省值是8。值越小表示时钟准确度越高。


#取消身份认证功能。[huawei]undo ntp-service authentication enable


#配置交换机作为服务器需要使能NTP服务器功能。
[huawei]undo ntp-service server disable


[huawei]display ntp-service status
 clock status: synchronized  # synchronized表示已经同步。
 clock stratum: 2
 reference clock ID: LOCAL(0)
 nominal frequency: 100.0000 Hz
 actual frequency: 100.0000 Hz
 clock precision: 2^17
 clock offset: 0.0000 ms
 root delay: 0.00 ms
 root dispersion: 0.00 ms
 peer dispersion: 10.00 ms
 reference time: 07:04:42.979 UTC Feb 16 2024(E979878A.FAB55EF1)
 synchronization state: clock set but frequency not determined
[huawei]



NTP时间(列表、list、全)ntplist
http://www.zh-cjh.com/wenzhangguilei/1475.html
群晖NAS(列表、list、全)naslist
http://www.zh-cjh.com/wenzhangguilei/429.html
文章归类、所有文章列表、LISTLIST
http://www.zh-cjh.com/wangzhangonggao/2195.html


1、本站资源长期持续更新。
2、本资源基本为原创,部分来源其他付费资源平台或互联网收集,如有侵权请联系及时处理。
3、本站大部分文章的截图来源实验测试环境,请不要在生产环境中随意模仿,以免带来灾难性后果。

转载请保留出处:  www.zh-cjh.com珠海陈坚浩博客 » 华为交换机:配置为ntp服务器

作者: cjh


手机扫一扫,手机上查看此文章:

一切源于价值!

其他 模板文件不存在: ./template/plugins/comment/pc/index.htm

未雨绸缪、居安思危!

数据安全、有备无患!

注意操作、数据无价!

一切源于价值!