03-25-2021 01:48 AM
I have noticed that the 2960-X switch only logs successful logins, but not failed ones (at least I have failed to configure it). It would be really interesting to get log messages for failed logins. Anyone who knows how to do this?
03-25-2021 01:56 AM - edited 03-25-2021 01:58 AM
Hello Lisa,
Following are the commands for login failed and success to get logged.
login on-failure log
login on-success log
***Please rate all helpful posts***
03-25-2021 03:06 AM
login on-failure log
login on-success log
make sure you are not fall under this version and bug :
https://bst.cloudapps.cisco.com/bugsearch/bug/CSCud90069/?rfs=iqvred
03-29-2021 04:55 AM
If you think about access security, You can create a list of allowed IP adresses, and you can log all attempts, permitted and not permitted
ip access-list standard MGMT_Access
permit 192.168.65.11 log
permit 192.168.65.130 log
deny any log
!
line vty 0 15
access-class MGMT_Access in
exec-timeout 30 0
absolute-timeout 300
logging synchronous
login local
transport input ssh
You can create a simple ansible script to apply this config to all cisco devices in one click and even not cisco too
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide