slmansfield Tue, 11/10/2009 - 06:49
User Badges:
  • Silver, 250 points or more

The output of the "SHOW RUN" command has this information at the very start of the output listing.


! Last configuration change at 19:08:40 CDT Mon Oct 12 2009 by cworks

! NVRAM config last updated at 19:08:47 CDT Mon Oct 12 2009 by cworks


luisveraza Tue, 11/10/2009 - 06:55
User Badges:


Hi, this IOS version is not showing it:


Router#sh running-config

Building configuration...


Current configuration : 3872 bytes

!

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec


Do you know another way ?.


Joseph W. Doherty Tue, 11/10/2009 - 07:21
User Badges:
  • Super Bronze, 10000 points or more

For configs to show update timestamps, believe the router needs a "valid" clock.

Richard Burts Tue, 11/10/2009 - 12:56
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Luis


Joseph is pointing you in the right direction. IOS will put the date and time of the last change into the config when the router believes that it does really know the right time. And as you have demonstrated it does not put the date and time when it does not have authoritative time.


The simple solution is for you to use the clock set command to set the date and time. The better solution is to configure the router to use NTP to learn time from some source.


HTH


Rick

luisveraza Tue, 11/10/2009 - 13:05
User Badges:


Thank you.


The router has the right time and date, but I can't see the time/date information that I need. I don't know why.


Do you have any idea ?.



Richard Burts Tue, 11/10/2009 - 13:31
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Luis


My idea is that the router may remember the time and date and put them into log messages and things like that. But just remembering the date is not authoritative about correct time. Try my suggestions about using the clock set command or about configuring the router to use NTP and let us know what happens.


HTH


Rick

Leo Laohoo Tue, 11/10/2009 - 13:45
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

If the appliance has the right time (look at the command "sh clock" and if you see "." in front that means that the appliance is NOT synchronized with the time) and you don't get any information of the "sh run" then the config was changed AFTER the appliance was rebooted.

luisveraza Tue, 11/10/2009 - 14:31
User Badges:


Ok, thank you, here you can see what sh clock command says:


Router#sh clock

*22:28:06.035 UTC Tue Nov 10 2009

Router#


The router has long time that it's not rebooted.



Richard Burts Tue, 11/10/2009 - 15:26
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Luis


The * before the time is another indicator (similar to the one mentioned by Leo) that the router time is not authoritative (even though it may be correct, it is not authoritative). Try my suggestion of using the clock set command and let us know what happens.


HTH


Rick

Actions

This Discussion