11-16-2010 09:45 AM - edited 03-06-2019 02:05 PM
Hi,
I'm running NXOS 5.1.1 on a N7010. This is a new switch and I am looking for a feature to log config directives (like in the IOS via 'archive log config' command). Is there such a thing? If so, how?
Thanks,
Mike
11-22-2010 06:42 AM
Hi Mike,
'show accounting log' displays the local accounting log which contains a quite substantial history of commands entered in both exec and config mode. You could use 'show accounting log | i 'configure terminal'' to display only config changes.
Hope this helps,
/Phil
11-22-2010 08:23 AM
Thanks Phil, that is helpful. I also need to get it off to a syslog server. Can that be done?
Mike
11-23-2010 07:26 AM
Hi Mike,
For logging config changes other than on the switch itself your best bet would be setting up proper AAA accounting to a TACACS+ or RADIUS server, I can't think of any way you'd get this off via syslog.
Cheers,
/Phil
10-09-2013 07:37 AM
Hello Mike, are you solved that issue?
In what way?
Thanks.-
10-09-2013 10:41 AM
You need to setup AAA accounting to capture this. That means TACACS or RADIUS.
Cheers,
Mike
10-09-2013 12:37 PM
Can´t I do this sending a log to my syslog server?
I centralize all the logs on a Prime LMS server and wish keep that.
Thanks
10-09-2013 01:32 PM
No but, LMS along with DFM, HUM and all that will work.
This link describes AAA accounting, if you really want to persue it. I'm not a TACACS user but there that approach too.
http://www.cisco.com/en/US/docs/ios/sec_user_services/configuration/guide/sec_cfg_accountg.html
For me? I am with you, I don't know why Cisco changed this in NXOS, it worked fine using syslog.
Good luck,
Mike
10-10-2013 07:28 AM
Thanks!
08-30-2016 03:30 AM
Have you found a way to send the config commands to a syslog server? I am having the same issue. Our strategy works fine for IOS but the aaa accounting on NXOS is not what we need.
Any hint would be helpful :-)
08-30-2016 05:00 AM
No way! The TACACS solution explained by Mike is a partial solution if you need that.
Good luck.
12-02-2016 08:06 AM
I'd recommend getting your TACACS or RADIUS server to send the messages to syslog, if you haven't already solved it in another way.
11-21-2023 08:06 AM
Hello,
just for documentation purpose - for NXOS, this should help:
logging level aaa 6
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