华为交换机配置时区_S5700系统时区不同于UTC时区导致NTP同步失败
1、查看配置信息:ntp-service unicast-server 10.0.0.17 ,配置正确;
2、通过display clock查看当前时间:
dis clock
2015-02-03 04:40:25-05:13 //时钟与北京时间慢5个多小时
Tuesday
Time Zone(Indian Standard Time) : UTC-05:13 //当前时区是印度时区,比UTC时间慢5小时13分
dis clock utc //UTC时间是较准确的北京时间
2015-02-03 09:54:09
Tuesday
3、删除印度时区: undo clock timezone
4、再次查看时间:
dis clock
2015-02-03 09:54:51 //时钟恢复为UTC时间
Tuesday
Time Zone(DefaultZoneName) : UTC
5、 为了证明NTP协议正在运行,故意修改此交换机的系统时钟比主时钟快1小时,几秒钟后,被主时钟同步
dis ntp-service status //查看NTP同步状态
clock status: synchronized
clock stratum: 9
reference clock ID: 10.0.0.17
nominal frequency: 60.0002 Hz
actual frequency: 60.0000 Hz
clock precision: 2^17
clock offset: -1.2019 ms
root delay: 16.85 ms
root dispersion: 265.42 ms
peer dispersion: 10.99 ms
reference time: 09:55:27.054 UTC Feb 3 2015(D87B198F.0DDB76B3)
synchronization state: clock synchronized
dis ntp-service event clock-unsync
①. Clock source : 10.0.0.17
Session type : client, configured
Unsync reason : Clock selection failed - No selectable clock
Unsync time : 2015-02-02 06:07:36-05:13
②. Clock source : 10.0.0.17
Session type : client, configured
Unsync reason : Clock selection failed - No selectable clock
Unsync time : 2015-02-02 08:22:43-05:13
③. Clock source : 10.0.0.17
Session type : client, configured
Unsync reason : Clock selection failed - No selectable clock
Unsync time : 2015-02-02 10:35:31-05:13
④. Clock source : 10.0.0.17
Session type : client, configured
Unsync reason : Clock selection failed - No selectable clock
Unsync time : 2015-02-02 13:08:24-05:13
⑤. Clock source : 10.0.0.17
Session type : client, configured
Unsync reason : Clock selection failed - No selectable clock
Unsync time : 2015-02-02 13:17:02-05:13
⑥. Clock source : 10.0.0.17
Session type : client, configured
Unsync reason : Clock selection failed - No selectable clock
Unsync time : 2015-02-02 15:22:36-05:13
⑦. Clock source : 10.0.0.17
Session type : client, configured
Unsync reason : Clock selection failed - No selectable clock
Unsync time : 2015-02-02 17:07:23-05:13
⑧. Clock source : 10.0.0.17
Session type : client, configured
Unsync reason : Peer clock unsynchronized/unselectable
Unsync time : 2015-02-03 01:16:21-05:13
⑨. Clock source : 10.0.0.17
Session type : client, configured
Unsync reason : Clock selection failed - No selectable clock
Unsync time : 2015-02-03 02:22:42-05:13
⑩. Clock source : 10.0.0.17
Session type : client, configured
Unsync reason : Clock selection failed - No selectable clock
Unsync time : 2015-02-03 03:49:40-05:13
dis ntp-service statistics packet
NTP IPv4 Packet Statistical Information
---------------------------------------
Sent : 5758
Send failures : 0
Received : 5758
Processed : 5747
Dropped : 11
Validity test failures : 11
Authentication failures : 0
Invalid packets : 0
Access denied : 0
Rate-limited : 0
Processing delay : 0
Interface disabled : 0
Max dynamic association reached : 0
Server disabled : 0
Others : 0
6、故障解决
华为交换机配置时区_S5700系统时区不同于UTC时区导致NTP同步失败相关推荐
- 华为交换机配置时区_华为交换机配置NTP实现时间自动同步
本篇文章介绍华为交换机配置NTP实现时间自动同步,此方法适用于华为路由器和交换机等网络设备配置NTP自动同步时间服务,关于时钟服务器搭建详见<CentOS 7利用chrony搭建NTP时钟服务器 ...
- 华为交换机配置命令 华为QuidWay交换机配置命令手册
华为交换机配置,仅供参考: 1.开始建立本地配置环境,将主机的串口通过配置电缆与以太网交换机的Console口连接. 在主机上运行终端仿真程序(如Windows的超级终端等),设置终端通信参数为:波特 ...
- 华为交换机配置基本命令
H3C交换机配置命令大全 华为交换机配置基本命令 H3C交换机 ################################################ Dis cur 查看当前配置 [h ...
- 剖析基于IOS的华为交换机配置口令设置
From:http://network.51cto.com/art/201001/175116.htm 剖析基于IOS的华为交换机配置口令设置,如何设置华为交换机配置口令,网络上有不少的方法,下面是设 ...
- 华为交换机配置(一)
前置条件:交换机功能正常但前期使用情况不明,需要重置再进行使用. 准备条件: 物料准备:华为交换机+配置PC+console线+USB转串口线+电源线+网线1根 软件准备:USB转串口驱动+Xshel ...
- 华为交换机配置常用命令
华为交换机配置常用命令 一.配置软件和硬件 1.配置(Console)电缆连接 配置电缆是一根8芯屏蔽电缆,一端是压接的RJ-45连接器,插入交换机的Console口里:另一端则同时带有一个DB-9( ...
- 华为交换机配置链路聚合(手工模式链路聚合和lacp模式聚合)
华为交换机配置链路聚合 链路聚合(Eth-Trunk),是将多个物理接口捆绑为一个逻辑接口,实现增加链路带宽.提高可靠性.提供负载分担的目的. 链路聚合两种模式:手工负载分担模式(默认模式,默认负载均 ...
- 链路聚合Eth-trunk以及华为交换机配置实例
链路聚合基本概念:链路聚合是把两台设备之间的链路聚集在一块,当做一条逻辑链路使用. 链路聚合的作用: 1.增加链路带宽:多个链路聚合成一个带宽更大的链路,一般采用基于流的负载均衡模式: 2.增加链路可 ...
- 华为交换机配置ospf配置命令
下面是华为交换机配置 OSPF 的命令步骤: 配置系统支持 OSPF 协议: system-view [Huawei] protocol ospf
最新文章
- Spring cloud Loadbalance
- shell文本处理工具grep
- 使用Tab Bar切换视图
- java 字段名重复,java – JSON响应中的重复字段
- ssh 连接超时 不断开
- 网站漏洞扫描工具 - PHPmvs
- Javascript中数组的sort方法的分析
- matlab图片渲染,图像 – 在内存中渲染MATLAB图
- tomcat端口被占用的两个解决方法
- OpenGL基础29:深度测试
- js格式化显示xml
- java 菱形_java空心菱形
- qq 浏览器 android x86版,qq浏览器安卓版x86
- 计算机计算性能,计算机计算能力的关键特点
- SrpingCloud系统学习 - 熔断机制
- notifyDataSetInvalidated()和notifyDataSetChanged()有什么区别?
- 海德汉仿真软件+海德汉西门子视频教程
- [日常] 面试知识点总结(持续更新)
- mysql5.6设置数据库read_only的两种方式
- 项目需求分析(那周余嘉熊掌将得队)