Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm wondering if it's possible to receive the username that failed a login attempt with snmp logging on a Cisco ML card. Can SNMPv3 do this, and if so, what would be the command to enable it?

Thanks!

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

If you're running version 12.3(4)T or higher you can use the command login on-failure trap

Router(config)#login on-failure trap ?
  every  Periodicity for logs/traps generated
  <cr>

This is what I show on a wireshark capture:

LOGIN_FAILED0....+......).........Login failed [user: test] [Source: 210.10.0.2] 
[localport: 23] [Reason: Login Authentication Failed - BadUser]

http://www.cisco.com/en/US/docs/ios/12_3t/secur/command/reference/sec_k1gt.html#wp1180994

share|improve this answer
    
Thanks. It seems we're on an unsupported version, but now we know. –  Hortonew Feb 24 '12 at 18:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.