Perhaps another trivial post, but if you don’t know about it, you might find it extremely useful.
Cisco NX-OS has an on-device log file of the exec level configuration commands entered successfully. Obviously similar informational can be obtained from the TACACS logs, but there is a certain benefit in having directly on CLI.
The command is:
#show accounting log
Here is some sampled output:
Nexus#show accounting log | last 35 | i SUCCESS Fri Feb 17 15:39:19 2012:type=update:id=10.5.0.1@pts/33:user=bruce:cmd=copy running-config startup-config (SUCCESS) Mon Feb 27 12:38:06 2012:type=update:id=10.5.0.1@pts/34:user=bob:cmd=configure terminal ; vlan 123 (SUCCESS) Mon Feb 27 12:38:09 2012:type=update:id=10.5.0.1@pts/34:user=bob:cmd=configure terminal ; vlan 123 ; name CLIENT-NAME (SUCCESS) Mon Feb 27 12:40:02 2012:type=update:id=10.5.0.1@pts/34:user=bob:cmd=copy running-config startup-config (SUCCESS) Mon Feb 27 12:40:52 2012:type=update:id=10.5.0.1@pts/34:user=bob:cmd=configure terminal ; interface Ethernet109/1/1 (SUCCESS) Mon Feb 27 12:41:31 2012:type=update:id=10.5.0.1@pts/34:user=bob:cmd=configure terminal ; interface Ethernet109/1/1 ; switchport trunk allowed vlan add 123 (SUCCESS) Mon Feb 27 12:42:14 2012:type=update:id=10.5.0.1@pts/34:user=bob:cmd=configure terminal ; interface Ethernet109/1/3 (SUCCESS) Mon Feb 27 12:42:18 2012:type=update:id=10.5.0.1@pts/34:user=bob:cmd=configure terminal ; interface Ethernet109/1/3 ; switchport trunk allowed vlan add 123 (SUCCESS) Thu Mar 1 10:29:18 2012:type=update:id=console0:user=joey:cmd=configure terminal ; snmp-server location inside that other cabinet (SUCCESS) Thu Mar 1 10:29:29 2012:type=update:id=console0:user=joey:cmd=copy running-config startup-config (SUCCESS) Fri Mar 2 13:57:16 2012:type=update:id=10.5.0.1@pts/33:user=bruce:cmd=configure terminal ; role name level2 (SUCCESS) Fri Mar 2 13:57:16 2012:type=update:id=10.5.0.1@pts/33:user=bruce:cmd=configure terminal ; role name level2 ; rule 4 permit command dir * (SUCCESS) Fri Mar 2 13:57:23 2012:type=update:id=10.5.0.1@pts/33:user=bruce:cmd=copy running-config startup-config (SUCCESS)
Obviously the usual NX-OS CLI pipe operands apply to limit the display to exactly what is required or needed.
HTH, let me know if you have used this…