国产宅男网站在线|亚洲A级性爱免费视频|亚洲中精品级在线|午夜福利AA毛

  • <dd id="gf5jf"><th id="gf5jf"></th></dd>

    <cite id="gf5jf"><label id="gf5jf"></label></cite>
  • <div id="gf5jf"><listing id="gf5jf"></listing></div>
    學習啦>學習電腦>電腦入門>

    Cisco交換機時間服務(wù)(NTP)的設(shè)置步驟

    時間: 志藝942 分享

      在企業(yè)網(wǎng)絡(luò)中,配置整個網(wǎng)絡(luò)的時間同步是相當重要的,尤其是在分析日志的工作中,從日志條目的時間可以發(fā)現(xiàn)事件的因果關(guān)系。接下來是小編為大家收集的Cisco交換機時間服務(wù)(NTP)的設(shè)置步驟方法,希望能幫到大家。

      Cisco交換機時間服務(wù)(NTP)的設(shè)置步驟

      將CISCO6509配置為標準時間服務(wù)器

      ntp server 192.168.0.101

      查詢當前的時間

      Cisco6509#show clock

      00:09:13.643 PDT Tue Jun 30 2009

      配置一個北京時區(qū),隨意取名

      clock timezone Beijing 8

      再查詢一下,已經(jīng)同步過來了

      CISCO6509#show clock

      15:10:00.239 Beijing Tue Jun 30 2009

      設(shè)定硬件時鐘為權(quán)威NTPserver

      (config)#clock calendar-valid

      調(diào)整時間

      #clock set 15:00:00 30 jun 2009

      當前時鐘為

      #show clock

      15:15:10.705 Beijing Tue Jun 30 2009

      當前硬件時鐘為

      #show calendar

      14:37:59 Beijing Tue Jun 30 2009

      NTP源為vlan2

      (config)#ntp source vlan 2

      將同步其他時間去除

      no ntp server 10.20.0.103

      將硬件時鐘與當前clock同步

      #clock update-calendar

      查看當前clock時間

      #show clock

      .15:47:57.558 Beijing Tue Jun 30 2009

      查看當前硬件時鐘

      #show calendar

      15:48:00 Beijing Tue Jun 30 2009

      配置系統(tǒng)debug記錄的時間格式

      (config)#service timestamps debug datetime localtime

      配置系統(tǒng)日志記錄時間格式

      (config)#service timestamps log datetime localtime

      設(shè)置與其他時間服務(wù)器同步

      (config)#ntp server 192.168.0.102

      設(shè)置為第一級ntp服務(wù)器

      (config)#ntp master 1

      允許更新硬件時鐘(不必須)

      (config)#ntp update-calendar

      查看的ntp設(shè)置的命令

      sh clock detail

      sh ntp sta

      sh ntp ass

      sh ntp ass detail

      ----配置命令

      ntp authentication-key 1 md5 xx

      ntp source Loopback0

      ntp server 10.10.10.1 key 1

      配置方法:

      // router 7206

      conf t

      ntp source FastEthernet0/1   //指定更新源地址,覆蓋ntp server中的配置

      ntp update-calendar      //設(shè)備如帶有硬件時鐘,同時更新硬件時鐘

      ntp server 202.155.248.218 source FastEthernet0/1  //指定更新目的地址,香港,并指定更新源接口為f0/1.

      int f0/1

      ntp enable

      這時你應(yīng)該已經(jīng)獲得了時間,但是注意,時區(qū)是否正確,默認為格林威治時間,如想改為北京時間,下面這步是必不可少的。來源:

      clock timezone BeiJing 8  //最后這個數(shù)字8,代表+8時區(qū) 認

      驗證方法:

      show ntp associate

    看了“Cisco交換機時間服務(wù)(NTP)的設(shè)置步驟”還想看:

    1.cisco交換機時間設(shè)置時間

    2.cisco交換機設(shè)置時間

    3.cisco交換機時間設(shè)置

    4.cisco交換機設(shè)置時區(qū)

    5.cisco如何ntp

    6.cisco設(shè)置時間

    7.cisco交換機設(shè)置同步日志本地時間的方法

    2743421