国产宅男网站在线|亚洲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>
    學(xué)習(xí)啦>學(xué)習(xí)電腦>網(wǎng)絡(luò)知識>路由器>路由器設(shè)置>cisco思科>

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

    時間: 春健736 分享

      Cisco并不難,主要有些人沒有接觸的機會,如果你經(jīng)常管理cisco設(shè)備,你會發(fā)現(xiàn)其實就那幾步,不過也有不少網(wǎng)友不知道cisco交換機時間設(shè)置時間怎么設(shè)置。其實步驟并不難,下面學(xué)習(xí)啦小編給大家介紹一下具體操作辦法,供大家參考!

      cisco交換機時間設(shè)置時間具體操作

      將CISCO6509配置為標(biāo)準(zhǔn)時間服務(wù)器

      ntp server 192.168.0.101

      查詢當(dāng)前的時間

      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

      當(dāng)前時鐘為

      #show clock

      15:15:10.705 Beijing Tue Jun 30 2009

      當(dāng)前硬件時鐘為

      #show calendar

      14:37:59 Beijing Tue Jun 30 2009

      NTP源為vlan2

      (config)#ntp source vlan 2

      將同步其他時間去除

      no ntp server 10.20.0.103

      將硬件時鐘與當(dāng)前clock同步

      #clock update-calendar

      查看當(dāng)前clock時間

      #show clock

      .15:47:57.558 Beijing Tue Jun 30 2009

      查看當(dāng)前硬件時鐘

      #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ū)是否正確,默認為格林威治時間,如想改為北京時間,下面這步是必不可少的。

      Core-Switch-1#show clock

      Core-Switch-1#show ntp status

      Core-Switch-1#conf t

      Core-Switch-1(config)# clock timezone GMT +8

      Core-Switch-1(config)#service timestamps debug datetime msec localtime show-timezone

      Core-Switch-1(config)#service timestamps log datetime msec localtime show-timezone

      Core-Switch-1(config)#exit

      Core-Switch-1# clock set 13:51:00 Sep 7 2011

      或通過NTP服務(wù)器時間同步:

      Core-Switch-1#ntp server 192.168.0.254 key 8888 注:8888是指ntp服務(wù)器的Key值

      Core-Switch-1#wr

      Core-Switch-1#sh log

      默認情況下日志消息不包括日期和時間戳。

      service timestamps {debug | log } uptime

      service timestamps {debug | log } datetime [mesc] [localtime] [show-timezone] [year]

      debug 參數(shù) 在調(diào)試輸出時包括時間戳

      log 參數(shù) 在每種日志消息中添加一個時間戳

      uptime 在消息中包括路由器開機以來的時間

      0w2d: #SYS-5-CONFIG_I : Configured from console by console

      0w2d 開機后0周2天

      datetime 顯示準(zhǔn)確的日期和時間 UTC 格式 標(biāo)準(zhǔn)格式 MM DD HH:MM:SS

      datetime后面可以跟一些參數(shù)

      mesc 消息中包括毫秒信息

      localtime 顯示基于本地配置的時區(qū)時間

      show-timezone 輸出包括時區(qū)名稱

      year 輸出包括年份信息

      未設(shè)置時間前:

      #sh log

      4w0d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/6, changed state to up

      4w0d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/6, changed state to down

      4w0d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/6, changed state to up

      4w1d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to down

      4w1d: %LINK-3-UPDOWN: Interface FastEthernet0/5, changed state to down

      4w1d: %LINK-3-UPDOWN: Interface FastEthernet0/5, changed state to up

      4w1d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to up

      4w1d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to down

      4w1d: %LINK-3-UPDOWN: Interface FastEthernet0/3, changed state to down

      4w1d: %LINK-3-UPDOWN: Interface FastEthernet0/3, changed state to up

      4w1d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to up

      設(shè)置后

      #sh log

      .Sep 7 05:59:22: %SYS-6-CLOCKUPDATE: System clock has been updated from 13:59:22 BJ Wed Sep 7 2011 to 05:59:22 UTC Wed Sep 7 2011, configured from console by wht on vty2 (172.16.100.10).

      .Sep 7 13:59:23: %SYS-6-CLOCKUPDATE: System clock has been updated from 05:59:23 UTC Wed Sep 7 2011 to 13:59:23 GMT Wed Sep 7 2011, configured from console by wht on vty2 (172.16.100.10).

      .Sep 7 13:59:24: %SYS-5-CONFIG_I: Configured from console by wht on vty2 (172.16.100.10)

      .Sep 7 13:58:00: %SYS-6-CLOCKUPDATE: System clock has been updated from 14:00:05 GMT Wed Sep 7 2011 to 13:58:00 GMT Wed Sep 7 2011, configured from console by wht on vty2 (172.16.100.10).

      學(xué)習(xí)啦小編分享了cisco交換機時間設(shè)置時間的解決方法。希望大家喜歡。

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

    Cisco并不難,主要有些人沒有接觸的機會,如果你經(jīng)常管理cisco設(shè)備,你會發(fā)現(xiàn)其實就那幾步,不過也有不少網(wǎng)友不知道cisco交換機時間設(shè)置時間怎么設(shè)置。其實步驟并不難,下面學(xué)習(xí)啦小編給大家介紹一下具體操作辦法,供大家參考! cisco交
    推薦度:
    點擊下載文檔文檔為doc格式

    精選文章

    • cisco登錄什么網(wǎng)站設(shè)置ip
      cisco登錄什么網(wǎng)站設(shè)置ip

      Cisco并不難,主要有些人沒有接觸的機會,如果你經(jīng)常管理cisco設(shè)備,你會發(fā)現(xiàn)其實就那幾步,不過也有不少網(wǎng)友不知道cisco登錄什么網(wǎng)站設(shè)置ip。其實步驟

    • cisco核心交換機限速
      cisco核心交換機限速

      Cisco并不難,主要有些人沒有接觸的機會,如果你經(jīng)常管理cisco設(shè)備,你會發(fā)現(xiàn)其實就那幾步,不過也有不少網(wǎng)友不知道cisco核心交換機限速怎么弄。其實步

    • cisco設(shè)置用戶名密碼設(shè)置
      cisco設(shè)置用戶名密碼設(shè)置

      Cisco并不難,主要有些人沒有接觸的機會,如果你經(jīng)常管理cisco設(shè)備,你會發(fā)現(xiàn)其實就那幾步,不過也有不少網(wǎng)友不知道cisco 設(shè)置用戶名密碼設(shè)置怎么弄。其

    • cisco電腦設(shè)置ip
      cisco電腦設(shè)置ip

      網(wǎng)絡(luò)交換機的設(shè)置方法那是比較多的,要視具體情況而定,有不少網(wǎng)友不知道cisco電腦設(shè)置ip怎么設(shè)置?下面學(xué)習(xí)啦小編為大家講解具體設(shè)置方法,供你參考

    567187