• <output id="aynwq"><form id="aynwq"><code id="aynwq"></code></form></output>

    <mark id="aynwq"><option id="aynwq"></option></mark>
  • <mark id="aynwq"><option id="aynwq"></option></mark><label id="aynwq"><dl id="aynwq"></dl></label>
  • 學習啦>學習電腦>網絡知識>路由器>路由器設置>cisco思科>

    cisco路由器時間戳

    時間: 權威724 分享

      思科是全球領先且頂尖的通訊廠商,出產的路由器功能也是很出色的,那么你知道cisco路由器時間戳嗎?下面是學習啦小編整理的一些關于cisco路由器時間戳的相關資料,供你參考。

      什么是時間戳?

      時間戳(timestamp),通常是一個字符序列,唯一地標識某一刻的時間。數字時間戳技術是數字簽名技術一種變種的應用。

      時間戳(time-stamp)是一個經加密后形成的憑證文檔,它包括三個部分:

      (1)需加時間戳的文件的摘要(digest);

      (2)DTS收到文件的日期和時間;

      (3)DTS的數字簽名。

      一般來說,時間戳產生的過程為:用戶首先將需要加時間戳的文件用Hash編碼加密形成摘要,然后將該摘要發送到DTS,DTS在加入了收到文件摘要的日期和時間信息后再對該文件加密(數字簽名),然后送回用戶。

      書面簽署文件的時間是由簽署人自己寫上的,而數字時間戳則不然,它是由認證單位DTS來加的,以DTS收到文件的時間為依據。

      cisco路由器時間戳:

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

      service timestamps {debug | log } uptime

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

      debug 參數 在調試輸出時包括時間戳

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

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

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

      0w2d 開機后0周2天

      datetime 顯示準確的日期和時間 UTC 格式 標準格式 MM DD HH:MM:SS

      datetime后面可以跟一些參數

      mesc 消息中包括毫秒信息

      localtime 顯示基于本地配置的時區時間

      show-timezone 輸出包括時區名稱

      year 輸出包括年份信息

      Connected to Dynamips VM "default" (ID 0, type c7200) - Console port

      使用Dynamips 測試

      r1#conf t

      Enter configuration commands, one per line. End with CNTL/Z.

      r1(config)#service timestamps ?

      debug Timestamp debug messages

      log Timestamp log messages

      r1(config)#service timestamps log ?

      datetime Timestamp with date and time

      uptime Timestamp with system uptime

      r1(config)#service timestamps log uptime 首先使用開機時間 uptime

      r1(config)#do show ip int br

      Interface IP-Address OK? Method Status Protocol

      FastEthernet0/0 192.168.100.2 YES NVRAM up up 產生一條消息用

      Serial1/0 unassigned YES NVRAM administratively down down

      Serial1/1 unassigned YES NVRAM administratively down down

      Serial1/2 unassigned YES NVRAM administratively down down

      Serial1/3 unassigned YES NVRAM administratively down down

      r1(config)#int fa 0/0

      r1(config-if)#shut

      r1(config-if)#

      00:02:58: %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to administratively down

      00:02:59: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to down

      00:02:58 開機時間 。 2 3 層改變為down

      r1(config-if)#exit

      r1(config)#service timestamps log datetime ?

      localtime Use local time zone for timestamps

      msec Include milliseconds in timestamp

      show-timezone Add time zone information to timestamp

      year Include year in timestamp

      r1(config)#service timestamps log datetime localtime msec show-timezone year

      r1(config)#int fa 0/0

      r1(config-if)#no shut

      r1(config-if)#

      *Sep 15 2007 08:18:13.923 UTC: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up

      *Sep 15 2007 08:18:14.923 UTC: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

      2 3 層改變為up Sep 15 2007 08:18:13.923 UTC 7月 15日 8點 18分 13秒 923 毫秒 UTC時間

      r1(config)#service timestamps debug ?

      datetime Timestamp with date and time

      uptime Timestamp with system uptime

      r1(config)#service timestamps debug uptime

      r1(config)#do debug all

      This may severely impact network performance. Continue? (yes/[no]): yes

      All possible debugging has been turned on

      r1#

      00:07:09: IP routecache flags changed on Null0,

      added No CEF; now No CEF

      00:07:09: IP routecache flags changed on Null0,

      added No CEF; now No CEF

      00:07:10: CEF: background resolution thread state:

      00:07:10: Thread fast_thread: Empty

      00:07:10: Thread todothread: Empty

      00:07:10: Thread slow_thread: Emp

      r1#un all

      r1#conf t

      r1(config)#service timestamps debug datetime ?

      localtime Use local time zone for timestamps

      msec Include milliseconds in timestamp

      show-timezone Add time zone information to timestamp

      year Include year in timestamp

      r1(config)#$estamps debug datetime localtime msec show-timezone year

      r1(config)#do debgug

      This may severely impact network performance. Continue? (yes/[no]): yes

      All possible debugging has been turned on

      r1#

      *Sep 15 2007 08:22:27.335 UTC: IP routecache flags changed on Null0,

      added No CEF; now No CEF

      *Sep 15 2007 08:22:27.339 UTC: IP routecache flags changed on Null0,

      added No CEF; now No CEF

      *Sep 15 2007 08:22:27.359 UTC: CEF: background resolution thread state:

      *Sep 15 2007 08:22:27.359 UTC: Thread fast_thread: Empty

      *Sep 15 2007 08:22:27.359 UTC: Thread todothread: Empty

      *Sep 15 2007 08:22:27.359 UTC: Thread slow_thread: Empty

      *Sep 15 2007 08:22:27.923 UTC: Local MobileIP: aging arp mobility cache entries

      *Sep 15 2007 08:22:27.927 UTC: IP-ST: if_list try 0

      *Sep 15 2007 08:22:27.927 UTC: IP-ST: gw_list total 0, try 0, completed list TRUE

      日志消息前面有個* 。日志消息一般是從三種字符的一種開始:空格 星號 句號

      空格 路由器的時鐘被手動設置,或者和NTP時間服務器同步

      星號 路由器的時鐘沒有別設置,或者沒有和NTP服務器同步

      句號 路由器的時鐘被設置為同步,但和NTP服務器失去了聯系

      service timestamps debug uptime和service timestamps log uptime?

      service timestamps

      To configure the system to timestamp debugging or logging messages, use one of the service timestamps global configuration commands. Use the no form of this command to disable this service.

      service timestamps type [uptime]

      service timestamps type datetime [msec] [localtime] [show-timezone]

      no service timestamps type

      Syntax Description

      type

      Type of message to timestamp: debug or log.

      uptime

      (Optional) Timestamp with time since the system was rebooted.

      datetime

      Timestamp with the date and time.

      msec

      (Optional) Include milliseconds in the date and timestamp.

      localtime

      (Optional) Timestamp relative to the local time zone.

      show-timezone

      (Optional) Include the time zone name in the timestamp.

      Defaults

      No timestamping.

      If service timestamps is specified with no arguments or keywords, default is service timestamps debug uptime.

      The default for service timestamps type datetime is to format the time in UTC, with no milliseconds and no time zone name.

      The command no service timestamps by itself disables timestamps for both debug and log messages.

      Command Modes

      Global configuration

      Command History

      Release Modification

      10.0

      This command was introduced.

      Usage Guidelines

      Timestamps can be added to either debugging or logging messages independently. The uptime form of the command adds timestamps in the format HHHH:MM:SS, indicating the time since the system was rebooted. The datetime form of the command adds timestamps in the format MMM DD HH:MM:SS, indicating the date and time according to the system clock. If the system clock has not been set, the date and time are preceded by an asterisk (*) to indicate that the date and time are probably not correct.

      Examples

      The following example enables timestamps on debugging messages, showing the time since reboot:

      service timestamps debug uptime

      The following example enables timestamps on logging messages, showing the current time and date relative to the local time zone, with the time zone name included:

      service timestamps log datetime localtime show-timezone

      Related Commands

      Command Description

      clock set

      Manually set the system clock.

      ntp

      Controls access to the system's Network Time Protocol (NTP) services.

      看過文章“cisco路由器時間戳"的人還看了:

      1.思科路由器配置命令

      2.思科路由器怎么進入 思科路由器怎么設置

      3.如何查看Cisco路由器的配置信息

      4.思科路由器配置特點詳細介紹

      5.思科Cisco路由器的基礎配置知識

      6.思科如何配置ACE

      7.cisco思科怎么配置無線AP

      8.思科路由器配置命令大全

    561922 主站蜘蛛池模板: 天天躁日日躁狠狠躁欧美老妇| 好硬啊进得太深了h动态图120秒| 亚洲精品国产高清不卡在线| 一级毛片免费全部播放| 欧美国产一区二区三区激情无套| 国产1区2区3区在线观看| 2020国语对白露脸| 日韩精品无码一区二区三区四区 | 国产午夜精品1区2区3福利| 久久亚洲sm情趣捆绑调教| 美女裸体a级毛片| 国产精品一区亚洲一区天堂| 亚洲精品在线不卡| 亚洲综合图片网| 亚洲资源在线视频| 伊人这里只有精品| 99久久国产视频| 新婚夜被别人开了苞诗岚| 亚洲国产成人久久一区二区三区 | yellow版字幕网| 日本道在线观看| 亚洲欧美日韩高清在线看| 高清亚洲综合色成在线播放放| 在线观看精品国产福利片87| 五月综合色婷婷在线观看| 美女内射毛片在线看免费人动物| 中文字幕你懂的| 欧美三级在线播放| 伊人亚洲综合网| 羞差的漫画sss| 国产成人亚洲精品播放器下载| 91精东果冻蜜桃星空麻豆| 好男人在线社区www在线视频一| 久久久久亚洲AV综合波多野结衣| 欧洲亚洲国产精华液| 亚洲毛片在线免费观看| 精品一区二区三区在线视频 | 中国一级片在线观看| 日韩欧美中文字幕出| 健身私教干了好几次| 五月亭亭免费高清在线|