Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Last time that Running Config was changed

Hi,

Do you know how I can see the date, time that the running config was modified, updated ?.

Thank you.

10 REPLIES
Silver

Re: Last time that Running Config was changed

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

New Member

Re: Last time that Running Config was changed

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 ?.

Super Bronze

Re: Last time that Running Config was changed

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

Silver

Re: Last time that Running Config was changed

Hall of Fame Super Gold

Re: Last time that Running Config was changed

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

New Member

Re: Last time that Running Config was changed

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 ?.

Hall of Fame Super Gold

Re: Last time that Running Config was changed

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

Hall of Fame Super Gold

Re: Last time that Running Config was changed

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.

New Member

Re: Last time that Running Config was changed

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.

Hall of Fame Super Gold

Re: Last time that Running Config was changed

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

2360
Views
0
Helpful
10
Replies
CreatePlease to create content