Tracking when & who made config changes in config file itself

From: ccie2be (ccie2be@nyc.rr.com)
Date: Thu Nov 04 2004 - 14:21:31 GMT-3


Hi guys,

I apologize in advanced if these are dumb questions, but....

I can't figure out how to view the 165 messages logged as shown below to the
console. Does the 165 represent the number of messages IOS sent to the
console and to see them I would have to scroll up quite a bit? If so, when
did the router first start counting? Was it from the last time the router was
rebooted?

Rack1R5#sh log
Syslog logging: enabled (0 messages dropped, 1 messages rate-limited, 0
flushes,
 0 overruns, xml disabled)
    Console logging: level debugging, 165 messages logged, xml disabled
    Monitor logging: level debugging, 0 messages logged, xml disabled
    Buffer logging: level debugging, 2 messages logged, xml disabled
    Logging Exception size (4096 bytes)
    Count and timestamp logging messages: disabled
    Trap logging: level informational, 170 message lines logged

Log Buffer (4096 bytes):

*Mar 1 20:57:35.698: %SYS-5-CONFIG_I: Configured from console by ROUTER4 on
vty
0 (187.3.56.6)
*Mar 1 20:57:42.582: %CLEAR-5-COUNTERS: Clear counter on all interfaces by
ROUT
ER4 on vty0 (187.3.56.6)

Also, I would like the router to add lines to the config file like below:

Router1#show running-config
Building configuration...

Current configuration : 4285 bytes
!
! Last configuration change at 12:58:26 EDT Fri Jun 27 2003 by ijbrown
! NVRAM config last updated at 13:01:45 EDT Fri Jun 27 2003 by kdooley
!

I've tried various things but, so far, no success. This is what I've done so
far.

I added a username password command and enabled login local under the vty
lines. Then, I telnetted in and logged in under the name ROUTER4. Then, I
logged out and re-entered the router via the console and did a show run. I
was expecting to see something like above, "Last config change at ..." But, no
luck.

Can someone explain what I need to do to have the router keep track of when
and who made changes to the config file and have that info added to the config
file as shown above?

TIA, Tim



This archive was generated by hypermail 2.1.4 : Thu Dec 02 2004 - 06:57:38 GMT-3