Avatar of ctrost
ctrost

asked on 

Help with Cisco "show log"

I'm trying to interpret the output from a "show log" on my Cisco 1760 router.  I'm trying to pinpoint exactly when my T1 went down, but I'm getting weird labels for the date/time.

7w2d: %CONTROLLER-5-UPDOWN: Controller T1 1/0, changed state to down (LOS detected)
7w2d: %CONTROLLER-5-UPDOWN: Controller T1 1/0, changed state to up

I did a clear log before I left work last night.  I've done a "show clock" and verified that the router is correctly syncing with NTP.  I don't understand why its saying "7 weeks 2 days" for all my log entries and I don't understand how to fix it.

Please advise.  Thank you
Routers

Avatar of undefined
Last Comment
rsivanandan
Avatar of rsivanandan
rsivanandan
Flag of India image

That is probably the number of days the *router* has been up. Do a recycle of the router and see if it changes.

Cheers,
Rajesh
Avatar of ctrost
ctrost

ASKER

well its in live production so i can't reboot it to see if it fixes logging timestamps....

but i guess what i'm asking is... normally when i do a show log on a cisco device, it will display the timestamp associated with an event.  not how long the router has been up.... how do i change that
ASKER CERTIFIED SOLUTION
Avatar of rsivanandan
rsivanandan
Flag of India image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of ctrost
ctrost

ASKER

service timestamps log datetime msec

I added that and it works now.  thanks for getting me on the right track
Avatar of rsivanandan
rsivanandan
Flag of India image

Glad to help.

Cheers,
Rajesh
Routers
Routers

A router is a networking device that forwards data packets between computer networks. Routers perform the "traffic directing" functions on the Internet. The most familiar type of routers are home and small office cable or DSL routers that simply pass data, such as web pages, email, IM, and videos between computers and the Internet. More sophisticated routers, such as enterprise routers, connect large business or ISP networks up to the powerful core routers that forward data at high speed along the optical fiber lines of the Internet backbone. Though routers are typically dedicated hardware devices, use of software-based routers has grown increasingly common.

49K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo