Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Generate an SNMP trap or syslog message on login/out

I need to be able to generate either sn SNMP trap or a syslog message when ever someone logs into or out of a IOS router or switch. This is for successful logins.outs.

2 REPLIES
Hall of Fame Super Silver

Re: Generate an SNMP trap or syslog message on login/out

James

This has been a request many times from many people. And in release 12.3(4)T Cisco introduced enhancements that make this possible:

Logging messages can be generated for successful login requests via the new global configuration command login on-success; the login on-failure command generates logs for failed login requests.

For more information this link is very helpful:

http://www.cisco.com/en/US/products/ps6350/products_configuration_guide_chapter09186a0080455b93.html

HTH

Rick

New Member

Re: Generate an SNMP trap or syslog message on login/out

Rick,

Thanks for the reply. My Cisco SE had informed me of the same new feature. It doesn't quite do what we want. It does not include the username of the person logging in, although there is a field for it, nor does it send a message when the user logs out. In addition, I wasn't able to get the "login on-failure" feature to work in the 12.2(35)SE switch code I was using to test.

Thanks again.

361
Views
0
Helpful
2
Replies
CreatePlease to create content