How to log SNMP auth fail event on "show log"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2018 09:35 PM
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
- Labels:
-
Cisco Software
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2020 11:53 AM
@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.
