I configured logging on a couple of switches to try and audit who signs on where and when. We are running radius for authentication and I added the following to enable logging:
login on-failure log
login on-success log
logging on
logging x.x.x.x
This logs everything I want to log and I can see when someone tried to log on or logged on.
I do have one problem thou and was hopping someone out there can point me in the right direction. When someone logs on to the switch using Radius authentication it does not log the username and [user:] is empty. It does however log the username when changes are made to a switch after the user are already log in. Is this a problem with the Radius Authentication is there a work around?
Can you log when someone uses enable and access previledge mode?
Thanks for the help