华为交换机设置ntp时间同步
操作交换机型号:Huawei S5720
查看时间发现时间不对
[HUAWEI]display clock 2021-04-01 21:41:35 Thursday Time Zone(DefaultZoneName) : UTC [HUAWEI]
1、设置时区
[HUAWEI]clock timezone cst add 8
2、设置时间服务器地址(用的阿里的时间服务器地址)
[HUAWEI]ntp-service unicast-server 203.107.6.88 Warning: The NTP IPv4 server function is disabled. Run the undo server disable command to enable the IPv4 server function. Warning: The NTP IPv6 server function is disabled. Run the undo IPv6 server disable command to enable the IPv6 server function.
3、查看时间ntp状态
[HUAWEI]display clock 2021-08-11 15:44:35+08:00 Wednesday Time Zone(cst) : UTC+08:00 #utc+8就是CST时间 [HUAWEI]display ntp-service status clock status: synchronized clock stratum: 3 reference clock ID: 203.107.6.88 nominal frequency: 100.0000 Hz actual frequency: 100.0000 Hz clock precision: 2^18 clock offset: -6.6210 ms root delay: 34.59 ms root dispersion: 2.35 ms peer dispersion: 1.16 ms reference time: 07:46:41.568 UTC Aug 11 2021(E4BDFEE1.9184C271) synchronization state: clock set but frequency not determined
4、查看ntp服务会话
[HUAWEI]display ntp-service sessions clock source: 203.107.6.88 clock stratum: 2 clock status: configured, master, sane, valid reference clock ID: 100.107.25.114 reach: 7 current poll: 64 now: 42 offset: -9.7662 ms delay: 21.46 ms disper: 0.74 ms
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南