cisco 4900 shows right time but not in sh logs

Discussion in 'Cisco' started by Mark, Aug 18, 2009.

  1. Mark

    Mark Guest

    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)
     
    Mark, Aug 18, 2009
    #1
    1. Advertising

  2. 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.
     
    Andrey Tarasov, Aug 18, 2009
    #2
    1. Advertising

  3. Mark

    Mark Guest

    On Aug 18, 4:01 pm, Andrey Tarasov <> 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.
     
    Mark, Aug 18, 2009
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. awallwork at sign gmail dot com

    WinXP Home SP2 Logs on then Logs off

    awallwork at sign gmail dot com, Oct 13, 2004, in forum: Computer Support
    Replies:
    2
    Views:
    1,919
    Andrew
    Oct 16, 2004
  2. awallwork at sign gmail dot com

    Win XP SP2 Logs in then Logs out

    awallwork at sign gmail dot com, Oct 14, 2004, in forum: Computer Support
    Replies:
    2
    Views:
    2,309
    Andrew
    Oct 16, 2004
  3. Andrew

    Win XP SP2 Logs in then Logs out

    Andrew, Oct 16, 2004, in forum: Computer Support
    Replies:
    2
    Views:
    631
    mhicaoidh
    Oct 16, 2004
  4. Andrew
    Replies:
    15
    Views:
    7,074
    Gus Webb
    Oct 19, 2004
  5. Lester Lane

    Logs button not opening Logs GUI

    Lester Lane, Jun 29, 2009, in forum: Cisco
    Replies:
    6
    Views:
    534
    Lester Lane
    Aug 28, 2009
Loading...

Share This Page