Cisco switch access monitoring
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2021 06:10 AM
Hi,
I would like to monitor the access to a cisco switch by sending an SNMP trap for both logon failure and success syslog events, but seems that the trap is not generated.
This is my configuration:
login block-for 15 attempts 15 within 60
login on-failure log
login on-success log
log config
logging enable
notify syslog contenttype plaintext
logging history notifications
logging trap notifications
snmp-server enable traps syslog
snmp-server host monitor_server community_string
Can someone help on this topic please?
Thank you
- Labels:
-
Other Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2021 07:27 AM
try to add "logging snmp-trap notifications"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2021 07:36 AM
Hi,
I tried to add it but it doesn't work.
Some other traps are working fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2021 09:23 AM
- Try : (config)#snmp-server enable traps aaa_server
M.
-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2021 01:54 AM
Hi Marce,
aaa_server is not available as parameter.
I'm using cisco 2960-x, is there any limitation for this model?
Thanks
