亚洲欧美精品沙发,日韩在线精品视频,亚洲Av每日更新在线观看,亚洲国产另类一区在线5

<pre id="hdphd"></pre>

  • <div id="hdphd"><small id="hdphd"></small></div>
      學(xué)習(xí)啦 > 學(xué)習(xí)電腦 > 網(wǎng)絡(luò)知識(shí) > 路由器 > 路由器設(shè)置 > cisco思科 > cisco交換機(jī)時(shí)間設(shè)置

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

      時(shí)間: 春健736 分享

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

        思科cisco路由交換是所有設(shè)備中小編覺得最難的。不少網(wǎng)友都不知道cisco交換機(jī)時(shí)間設(shè)置怎么設(shè)置。下面學(xué)習(xí)啦小編給大家介紹一下具體操作辦法,供大家參考!

        cisco交換機(jī)時(shí)間設(shè)置命令

        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ù)器時(shí)間同步:

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

        Core-Switch-1#wr

        Core-Switch-1#sh log

        默認(rèn)情況下日志消息不包括日期和時(shí)間戳。

        service timestamps {debug | log } uptime

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

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

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

        uptime 在消息中包括路由器開機(jī)以來的時(shí)間

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

        0w2d 開機(jī)后0周2天

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

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

        mesc 消息中包括毫秒信息

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

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

        year 輸出包括年份信息

        未設(shè)置時(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交換機(jī)時(shí)間設(shè)置怎么設(shè)置的解決方法。希望大家喜歡。

      566556