07-07-2015 05:51 AM - edited 03-08-2019 12:51 AM
Hello,
Could you please tell me how i can "decrypt" time-log below in my show logging on a switch 2960 ?
SW#Sh logging
1y27w: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/19, changed state to up
1y27w: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to down
1y27w: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/16, changed state to down
1y27w: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to up
1y27w: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/16, changed state to up
1y27w: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/19, changed state to down
1y27w: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/19, changed state to up
1y27w: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to down
Best Regards.
James Hidden
Solved! Go to Solution.
07-07-2015 06:08 AM
It means 1 year and 27 weeks since the switch was last powered on or reloaded. If you want the entries to be timestamped (with full information) using the current time of the switch, put this in the config:
service timestamps log datetime msec localtime show-timezone year
("year" may be unavailable in older IOS versions)
07-07-2015 06:08 AM
It means 1 year and 27 weeks since the switch was last powered on or reloaded. If you want the entries to be timestamped (with full information) using the current time of the switch, put this in the config:
service timestamps log datetime msec localtime show-timezone year
("year" may be unavailable in older IOS versions)
07-07-2015 06:17 AM
I was unsure about this one, in this case it's no big deal.
07-07-2015 06:12 AM
That means the layer 2 on two fo your port may have been flapping, but I don't know, your log has no time. You should do :
show interfaces fastethernet 0/19
show interfaces fastethernet 0/24
FastEthernet0/19 is up, line protocol is up Is good, else is bad...
Add this line to the router:
service timestamps log datetime
Show me the ouptuts of the interfaces and the log
07-08-2015 03:18 AM
Hi,
I confirme that the adding of this command "service timestamps log datetime msec localtime show-timezone year" solve my problem.
Thanks à lot!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide