常规操作:
<h3c> display clock
有两种时钟获取方式
1.开取NTP ,由网络时钟服务器获取时间 clock protocol ntp mdc mdc-id
2.不置时钟服务器, clock protocol none
[H3C] clock protocol none #关闭protocol ,缺省情况下,默认开启,由缺省MDC获取系统时间
[H3C] clock timezone beijing add 8 #设置时区 北京 在UTC偏移8小时
[H3C] quit
<H3C> clock datetime hh:mm:ss year/month/day #设置时间
<H3C> clock datetime 14:21:30 2019/08/12 #设置时间
[H3C]quit