cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
8096
Views
0
Helpful
1
Replies

How to log SNMP auth fail event on "show log"

owen75522
Level 1
Level 1

How can i log SNMP auth failure on C2960X and C9300 ?

I have received trap by configure "snmp-server enable traps snmp authentication"

but i can't see more details (community, client ip ... etc) with "show log".


C2960X#show version
Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.2(4)E6, RELEASE SOFTWARE (fc4)

 

C9300#show version
Cisco IOS XE Software, Version 16.06.04
Cisco IOS Software [Everest], Catalyst L3 Switch Software (CAT9K_IOSXE), Version 16.6.4, RELEASE SOFTWARE (fc3)

 

#show running-config | inc snmp
snmp-server community public RO
snmp-server trap-source Vlan201
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart

#show running-config | inc loggin
logging buffered 40960
logging history debugging
logging host 192.168.1.1

1 Reply 1

hermann24
Level 1
Level 1

@owen75522  I would be interrested in the answer to the above question too. Have you found a solution to it by any chance?

There is logging snmp-authfail which Icurrently use and it works well , but that will be obsolete soon.

 

Anyone else having an idea?

I thought of debug commands, but I'm not sure which commands.

Thanks.