配置cisco交换机通过NTP同步时间

10,851次阅读
没有评论

共计 728 个字符,预计需要花费 2 分钟才能阅读完成。

 

1. 配置时区

switch(config)#clock timezome HK +8  // 经测试其实这个 GMT 可以换为任意字符,但要在 7 个字符以内,用于标记时区

2. 配置 NTP 服务器

switch(config)#ntp server 202.112.7.13 // 我这里是用的互联网 NTP 服务器,也可以架设本地 NTP 服务器

3. 检查配置

switch#show ntp associations // 查看 NTP 服务状态

address         ref clock     st  when  poll reach  delay  offset    disp
*~202.112.7.13     202.112.10.60     2   374   512  377    47.0    2.85    31.7
* master (synced), # master (unsynced), + selected, – candidate, ~ configured

switch#show ntp status // 查看 ntp 同步状态

Clock is synchronized, stratum 3, reference is 202.112.7.13
nominal freq is 190.7348 Hz, actual freq is 190.7245 Hz, precision is 2**18
reference time is DAD5197F.E8588584 (08:59:43.907 Shanghai Thu May 5 2016)
clock offset is 2.8495 msec, root delay is 48.02 msec
root dispersion is 48.20 msec, peer dispersion is 31.69 msec

如果不能同步请先尝试交换机能否与 NTP 服务器通信

正文完
 
Winter
版权声明:本站原创文章,由 Winter 2016-05-05发表,共计728字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
评论(没有评论)
验证码