时频百科

当前位置:首页>时频百科

交换机如何实现时间同步

时间:2022-04-27   访问量:499

注意:以下方法配置完成后,交换机的时间将立即更新为时间服务器的时间。配置前请将交换机时区设置为东八区

下面以Cisco Catalyst 3560举例:

Switch>enable //进入特权模式
switch#conf t //进入全局配置模式  
switch(config)#clock timezone BeiJing 8 //设置时区  
switch(config)#ntp source vlan 1 //配置ntp源在vlan1接口下,这里你也可以配置成具体端口,
switch(config)#ntp server 192.168.6.20 //配置与192.168.6.20这台NTP服务器进行时间同步  
Switch(config)#exit //退出全局配置模式

检查状态:

show ntp status   
show ntp associations detail  
show clock detail  
show clock //查看本机时间

配置完成后,默认同步间隔为1分钟。


上一篇:NTP在AIX系统下的应用

下一篇:路由器如何实现NTP时间同步

售前咨询客服

售前咨询
QQ客服1
QQ客服2
返回顶部