华为交换机NTP时间同步配置

2025-11-06 10:16:54

1、在CS1上配置NTP主时钟并启动NTP认证功能,使能CS1的NTP服务器功能。

<CS1> system-view

[~CS1] ntp refclock-master 1

[*CS1] ntp authentication enable

[*CS1] ntp authentication-keyid 42 authentication-mode hmac-sha256 Hello@123456

[*CS1] ntp trusted authentication-keyid 42

[*CS1] undo ntp server disable

[*CS1] commit

2、在DS1上指定CS1为NTP服务器。(其他的配置类似)

<DS1> system-view

[~DS1] ntp authentication enable

[*DS1] ntp authentication-keyid 42 authentication-mode hmac-sha256 Hello@123456

[*DS1] ntp trusted authentication-keyid 42

[*DS1] ntp unicast-server 10.100.1.1 authentication-keyid 42

[*DS1] commit

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢