Cisco 2950 Switch在Show Logging時,前方是帶設備的開機時間
3w4d: %LINK-3-UPDOWN: Interface FastEthernet0/5, changed state to down
3w4d: %LINK-3-UPDOWN: Interface FastEthernet0/5, changed state to up
3w4d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to up
如果要帶事件發生的時間,可以輸入下面的指令
service timestamps log datetime show-timezone localtime
3w4d: %LINK-3-UPDOWN: Interface FastEthernet0/5, changed state to down
3w4d: %LINK-3-UPDOWN: Interface FastEthernet0/5, changed state to up
3w4d: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to up
service timestamps log datetime show-timezone localtime
Sep 17 02:53:54: %SYS-5-CONFIG_I: Configured from console by admin on vty0 (192.168.1.249)
Sep 17 03:02:12: %SYS-5-CONFIG_I: Configured from console by admin on vty0 (192.168.1.150)
Sep 17 03:04:40: %SYS-5-CONFIG_I: Configured from console by admin on vty0 (192.168.1.150)
Sep 17 11:07:07 TW: %SYS-5-CONFIG_I: Configured from console by admin on vty0 (192.168.1.150)
留言
張貼留言