- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Labels:
-
Other Switches
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Rick

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2019 04:27 AM - edited 12-09-2024 11:02 AM
I have these lines configured:
logging trap notifications
logging source-interface VlanX
logging x.x.x.x
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2019 04:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2019 06:42 AM
can you post show version
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2019 07:04 AM - edited 12-09-2024 11:02 AM
#sh ver
config
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Rick
