[c-nsp] Check command history on CISCO
Iwanski, Edward E
EEIWANSKI at pier1.com
Wed Sep 22 10:30:43 EDT 2010
On 09/22/2010 09:20 AM, vijay gore wrote:
> HI,
>
> I want to check which command's are executed on cisco router in last
> two days . how to do that .
First, TACACS is the real answer here, but if you don't have that option and your IOS is recent enough:
archive
log config
logging enable
logging size 250
hidekeys
Not a perfect solution but this will give you the last 250 config commands (configurable up to 1000) run on that specific device.
Use:
show archive log config all
Lots of other cool features when turning on archiving.
Some good examples:
http://www.nil.si/ipcorner/RouterConfigMgmt/
and
http://www.nil.si/ipcorner/ConfigReplacement/
More information about the cisco-nsp
mailing list