首先学习:
NTP network time protocol 网络时间协议
UTC 世界协调时间
![d443f82046e1e6336ffb63a015982866.png](https://img-blog.csdnimg.cn/img_convert/d443f82046e1e6336ffb63a015982866.png)
# 查看时钟设置
dis clock #图片为已经配置好的时钟
![f4f459bbd5c6e3395adbaddf1b8c61ff.png](https://img-blog.csdnimg.cn/img_convert/f4f459bbd5c6e3395adbaddf1b8c61ff.png)
有两种时钟获取方式
1.开取NTP ,由网络时钟服务器获取时间 clock protocol ntp mdc mdc-id
2.不置时钟服务器, clock protocol none
# clock protocol none
clock protocol none #关闭protocol ,缺省情况下,默认开启,由缺省MDC获取系统时间
clock datetime hh:mm:ss year/month/day #设置时间
[H3C]clock timezone beijing add 8 #设置时区 北京 在UTC偏移8小时
[H3C]quit