為華為交換機設定ntp獲取時間
阿新 • • 發佈:2019-02-13
<S2300>clock timezone cst add 8
2、設定時間伺服器地址
[S2300]ntp-service unicast-server 10.1.100.88
3、檢視時間ntp狀態
<S2300>dis clock 2018-06-11 09:24:59 Monday Time Zone(cst) : UTC+08:00 <S2300>dis ntp-service status clock status: unsynchronized clock stratum: 16 reference clock ID: none nominal frequency: 60.0002 Hz actual frequency: 60.0002 Hz clock precision: 2^17 clock offset: 0.0000 ms root delay: 0.00 ms root dispersion: 2.85 ms peer dispersion: 0.00 ms reference time: 00:00:00.000 UTC Jan 1 1900(00000000.00000000)
4、檢視ntp服務會話
<S2300>dis ntp-service sessions source reference stra reach poll now offset delay disper ******************************************************************************** [12345]10.0.10.1 76.79.67.76 1 377 64 38m - 0.0 0.0 note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured, 6 vpn-instance