06-15-2006 06:05 PM - edited 03-03-2019 01:01 PM
what configuration in the router would let the following display when you run "show running-config" ?
!
! Last configuration change at 01:12:23 UTC Thu Jun 15 2006
! NVRAM config last updated at 16:35:55 UTC Wed Jun 14 2006
!
Thanks in advance.
06-15-2006 06:13 PM
zaqtivi
A router will put those lines into the display of show running-config (or show startup-config) if the router believes that it has authoritative (correct) time set. The router will believe that it has authoritative (correct) time if you have done the clock set command or if you have configured NTP and the router has success in establishing sync with an NTP server.
HTH
Rick
06-15-2006 09:36 PM
Hi
In addition to Rick's comments these lines will be displayed if you have service timestamps command enabled in your box..
hope you have the following commmand configured in your router..
service timestamps log datetime msec localtime show-timezone
regds
06-16-2006 07:56 AM
Edwin
Your comment is correct about service timestamps to get the date into syslog instead of the log showing uptime (which is the default). But the original question was about including the date in the output of show running-config. I am not clear whether you intended your comment to be just about syslog (where it is accurate) or whether you intended it to apply to both syslog and show running-config (where it is not accurate).
HTH
Rick
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide