中国网管论坛's Archiver

tyrone 发表于 2007-8-11 09:54

更改路由器时间后怎么才能保存呢

clock set后,copy run start了,但是reload 后再show clock,时间又变成1993年了

[[i] 本帖最后由 tyrone 于 2007-8-22 10:44 编辑 [/i]]

yonx 发表于 2007-8-11 19:44

低端的只能使用NTP,4000以上的才可以保存时间设置的。

hahatiger 发表于 2007-8-12 15:09

我们还用1800呢

tyrone 发表于 2007-8-13 14:14

我的是2600
ntp怎么配啊
clock timezone PST-8 8
ntp authenticate
ntp server 192.43.244.18
后,copy run start ,然后reload,还是1993年

show clock detail 时显示:Time source is NTP

show ntp status
Clock is unsynchronized, stratum 16, no reference clock
nominal freq is 249.5901 Hz, actual freq is 249.5901 Hz, precision is 2**18
reference time is 00000000.00000000 (08:00:00.000 PST-8 Mon Jan 1 1900)
clock offset is 0.0000 msec, root delay is 0.00 msec
root dispersion is 0.00 msec, peer dispersion is 0.00 msec


show ntp associations

      address         ref clock     st  when  poll reach  delay  offset    disp
~192.43.244.18    0.0.0.0          16     -    64    0     0.0    0.00  16000.
* master (synced), # master (unsynced), + selected, - candidate, ~ configured

是不是还有哪步没做啊?

yonx 发表于 2007-8-13 15:16

你是用什么做ntp服务器?windows操作系统的时间服务可能有点问题

tyrone 发表于 2007-8-13 15:19

我用的是微软在公网发布的ntp服务器,公网上有别的能用的ntp服务器吗

yonx 发表于 2007-8-13 15:21

有的,你自己找找吧

tyrone 发表于 2007-8-14 08:52

我试过很多互联网上的ntp服务器地址,都不行啊
是不是光
ntp authenticate
ntp server 192.43.244.18
这2句不够啊。

yonx 发表于 2007-8-14 16:37

应该就这样就可以了,我这没设备不能测试

tyrone 发表于 2007-8-21 17:26

经过多日测试发现不是ntp服务器地址的问题,是配置的问题

[b]clock timezone GMT +8[/b]!将ntp服务器的时间转换为中国时区的时间。

access-list 1 permit 192.168.0.0 0.0.0.255

interface FastEthernet0/1
ip address 211.101.7.161 255.255.255.222
ip nat inside
duplex auto
speed auto
[b]ntp broadcast client!重要[/b]

[b]ntp source FastEthernet0/1 !重要[/b]
[b]ntp access-group serve 1[/b]!重要,这里的1与access-list 1 permit 192.168.0.0 0.0.0.255的1对应
[b]ntp server 216.218.192.202[/b] !重要

这样配置完,就可以了,如果马上show clock时间还是1993的话,等个10几分钟在show clock就变成现在的时间了。

[[i] 本帖最后由 tyrone 于 2007-8-21 17:30 编辑 [/i]]

sunstone 发表于 2008-2-22 16:58

heh !x谢谢!兄弟!

页: [1]

Powered by Discuz! Archiver 6.1.0  © 1999-2008 bbs.bitsCN.com