LonelyWord

not LonelyWorld bacause of YOU

Skip to: Content | Sidebar | Footer

配置Cisco路由器交换机的日期时间

2010年四月26日 (23:28) | 网络工程 | By: LonelyWord

刚买的Cisco路由器或者交换机的日期或者时间可能不对,需要修改日期和时间

有两种方法,一种是直接修改日期时间,一种是跟NTP(Network Time Protocol)服务器同步

1.直接修改日期时间,在特权模式下,不用进config t,输入
clock set 16:16:16 20 April 2010

2.跟NTP服务器同步,可以点击这里查找离自己服务器较近的NTP服务器地址,这样延迟比较小,相对来说比较精确,中国的服务器点击这里,然后再配置模式下输入

clock timezone GMT 8  //在哪个时区就填哪个
ntp server 211.233.84.186
ntp server 122.226.192.4

这里可以多配置多个NTP服务器地址

然后show clock看看日期和时间应该都正确了

还有一种是适合局域网内路由器交换机时间同步的配置

服务器端:
conf t
ntp autentication-key 1 md5 ccc 10  //NTP认证,1是Key number,ccc是密码,10是密码加密类型
ntp authenticate    //开启NTP认证
ntp trusted-key 1   //NTP信任的Key number
ntp source vlan1    //设置ntp时钟原的端口或IP地址
ntp update-calendar //允许NTP定期更新calendar
ntp master 2        //允许本机作为NTP协议的主时钟,精度级别2,供其它对等体同步用
ntp server 211.233.84.186  //在网络上指定NTP Server

客户端
conf t
ntp authentication-key 1 md5 ccc 10   //跟上边一样
ntp authenticate
ntp trusted-key 1
ntp source vlan1
ntp server 10.10.10.10  //指定服务器地址

相关文章:

  1. Cisco路由器上做NAT和DHCP
  2. cisco设备添加Radius/Tacacs 认证
  3. cisco 2900系列switch密码破解方法
  4. weathermap配合Cacti显示网络流量图(2)
  5. 恢复cisco router密码

发表一条评论





Page 1 of 11