Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > cisco 4900 shows right time but not in sh logs

Reply
Thread Tools

cisco 4900 shows right time but not in sh logs

 
 
Mark
Guest
Posts: n/a
 
      08-18-2009
Any ideas please?

I think the log isnt showing the timezone time.

m4900#sh clock
15:41:08.661 CET Tue Aug 18 2009
m4900#clear counters
Clear "show interface" counters on all interfaces [confirm]
m4900#sh log
Syslog logging: enabled (0 messages dropped, 0 messages rate-limited,
0 flushes, 0 overruns, xml disabled, filtering disabled)

<output supressed>
Log Buffer (4096 bytes):

Aug 18 13:41:13.846: %CLEAR-5-COUNTERS: Clear counter on all
interfaces by root on vty0 (10.1.1.1)
 
Reply With Quote
 
 
 
 
Andrey Tarasov
Guest
Posts: n/a
 
      08-18-2009
Mark wrote:
> Any ideas please?
>
> I think the log isnt showing the timezone time.
>
> m4900#sh clock
> 15:41:08.661 CET Tue Aug 18 2009
> m4900#clear counters
> Clear "show interface" counters on all interfaces [confirm]
> m4900#sh log
> Syslog logging: enabled (0 messages dropped, 0 messages rate-limited,
> 0 flushes, 0 overruns, xml disabled, filtering disabled)
>
> <output supressed>
> Log Buffer (4096 bytes):
>
> Aug 18 13:41:13.846: %CLEAR-5-COUNTERS: Clear counter on all
> interfaces by root on vty0 (10.1.1.1)


Did you tell it to do that? It looks like in newer IOS it got it's own
special command -

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

Regards,
Andrey.
 
Reply With Quote
 
 
 
 
Mark
Guest
Posts: n/a
 
      08-18-2009
On Aug 18, 4:01*pm, Andrey Tarasov <(E-Mail Removed)> wrote:
> Mark wrote:
> > Any ideas please?

>
> > I think the log isnt showing the timezone time.

>
> > m4900#sh clock
> > 15:41:08.661 CET Tue Aug 18 2009
> > m4900#clear counters
> > Clear "show interface" counters on all interfaces [confirm]
> > m4900#sh log
> > Syslog logging: enabled (0 messages dropped, 0 messages rate-limited,
> > 0 flushes, 0 overruns, xml disabled, filtering disabled)

>
> > <output supressed>
> > Log Buffer (4096 bytes):

>
> > Aug 18 13:41:13.846: %CLEAR-5-COUNTERS: Clear counter on all
> > interfaces by root on vty0 (10.1.1.1)

>
> Did you tell it to do that? It looks like in newer IOS it got it's own
> special command -
>
> service timestamps log datetime [msec] [localtime] [show-timezone]
>
> Regards,
> Andrey.


Yes thats it. I dont think localtime is the default. Anyway fixed
thanks.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Logs button not opening Logs GUI Lester Lane Cisco 6 08-28-2009 10:02 AM
WinXP Home SP2 logs in then right away logs off Andrew Computer Support 15 10-19-2004 09:45 AM
Win XP SP2 Logs in then Logs out awallwork at sign gmail dot com Computer Support 2 10-16-2004 08:19 PM
Win XP SP2 Logs in then Logs out Andrew Computer Support 2 10-16-2004 04:27 PM
WinXP Home SP2 Logs on then Logs off awallwork at sign gmail dot com Computer Support 2 10-16-2004 02:28 AM



Advertisments