两极人生,八度空间

Fight for my CISSP and PMP

首页 新随笔 联系 聚合 管理
  156 Posts :: 22 Stories :: 67 Comments :: 0 Trackbacks
核心交换机采用Cisco Catalyst 4503系列的。想让局域网内地二层交换机Catalyst2950与其同步。即就是以4503的时间作为时间源。那在4503和2950上用那些命令才能实现NTP同步的功能呢?首先给4503与2950相连的端口G1/0/2一个IP 地址:192.168.1.254.
4503配置:
ntp authentication-key 1 md5 999
ntp authenticate
ntp trusted-key 1
ntp master 1

2950配置:
ntp authentication-key 1 md5 999
ntp authenticate
ntp trusted-key 1
ntp clock-period 17180178 //在客戶機上生成
ntp server 192.168.1.254 key 1
注意配置完成后,可以用show ntp status来查看NTP的状态,不过第一次在设备间进行时间同步,可能需要的时间会稍微长一点。耐心等待一下。哈哈,have a cup of coffee break.



posted on 2008-01-11 15:02 Jerome 阅读(1365) 评论(1)  编辑 收藏 引用 所属分类: Cisco Network Technology

Feedback

# re: NTP时间同步实验 2009-03-11 13:22 1
好像少了个#ntp source 端口  回复  更多评论
  

只有注册用户登录后才能发表评论。