03-26-2019 10:36 AM
We have a number of 2950G switches on our network that we have set up syslog logging on. We can see messages coming into the syslog server when interfaces go up or down but cannot see messages for user logins. We have tried setting logging trap to both notifications and debugging but neither sends traps for user login. We have 2960's which are all logging user logins. Need assistance.
Solved! Go to Solution.
03-27-2019 07:55 AM
I believe that this is key information
I tried configuring these below but it will not let me. There are no commands for these on the switch.
It sure looks like that feature is supported on your 2960s but not supported on your 2950s.
HTH
Rick
03-26-2019 11:46 AM
Hello,
not sure how your logging is configured, but try the below:
2960#conf t
2960(config)#archive
2960(config-archive)#log config
2f960(config-archive-log-cfg)#logging enable
2960(config-archive-log-cfg)#notify syslog contenttype plaintext
2960(config-archive-log-cfg)#hidekeys
2960(config-archive-log-cfg)#exit
2960(config-archive)#exit
2960(config)#logging on
2960(config)#login on-failure log
2960(config)#login on-success log
2960(config)#end
03-26-2019 11:47 AM
Can you post the running config to look how you configured for the loggin options.
high level config to check do you have below config in place ?
login on-failure log
login on-success log
!
logging trap notifications
logging source-interface eth x/x
logging x.x.x.x
03-27-2019 04:27 AM - edited 03-27-2019 04:28 AM
I have these lines configured:
logging trap notifications
logging source-interface Vlan2
logging 10.100.6.56
I tried configuring these below but it will not let me. There are no commands for these on the switch.
login on-failure log
login on-success log
03-27-2019 04:40 AM
03-27-2019 06:34 AM - edited 03-27-2019 06:34 AM
I tried logging trap informational but that did not work. I still get the interface up/down traps but not the login traps sent to the syslog.
03-27-2019 06:42 AM
can you post show version
03-27-2019 07:04 AM
03-27-2019 10:37 AM
I do not have in hand to test 2950 with that verison, try to check command referece, due to end of life, could not get any where to see syntax
as @Richard Burts suggested this is not supported feature.
03-27-2019 07:55 AM
I believe that this is key information
I tried configuring these below but it will not let me. There are no commands for these on the switch.
It sure looks like that feature is supported on your 2960s but not supported on your 2950s.
HTH
Rick
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