H3C交换机配置为NTP Server

参考华三官网:

https://www.h3c.com/cn/d_201708/1022816_30005_0.htm#_Toc490127398

不细述原理,直接配置,NTP Server端:

ntp-service enable	#开启NTP服务

clock protocol ntp 

clock timezone beijing add 8	#默认采用utc时区,北京时间为utc+8

ntp-service unicast-server 120.25.108.11  #配置ntp时间服务器

ntp-service unicast-server pool.ntp.org

ntp-service unicast-server time.windows.com

ntp-service unicast-server time.nist.gov

display ntp-service status	#查看ntp状态

display ntp-service sessions	#查看ntp会话信息

NTP Client端:

H3C Client:

system-view

clock timezone beijing add 8

clock protocol ntp

ntp-service enable

ntp-service unicast-server 172.16.1.3 //上面设置的NTP Server IP

Cisco Client:

ntp source Vlan1
ntp server 172.16.1.3

中国区授时中心:

使用以前请先ping相应的域名查看网络是否可达,和相应的访问速度

ntp.ntsc.ac.cn   中国国家授时中心
cn.ntp.org.cn     中国授时

 

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值