1、设置时区
[hw5700]clock timezone cst add 8

2、设置时间服务器地址
[hw5700]ntp-service unicast-server 192.168.0.209

3、查看时间与ntp状态
dis clock
2019-01-08 09:33:46+08:00
Tuesday
Time Zone(China) : UTC+08:00

dis ntp-service status
clock status: synchronized
clock stratum: 4
reference clock ID: 192.168.0.209
nominal frequency: 60.0002 Hz
actual frequency: 60.0002 Hz
clock precision: 2^17
clock offset: 70.4196 ms
root delay: 38.15 ms
root dispersion: 4.02 ms
peer dispersion: 51.01 ms
reference time: 01:32:52.786 UTC Jan 8 2019(DFDE7C44.C945A5FC)
synchronization state: clock set but frequency not determined

标签: 交换机, 华为

添加新评论