cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3201
Views
0
Helpful
9
Replies

Syslog messages not working on 2950G

dbuckley77
Level 1
Level 1

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.

1 Accepted Solution

Accepted Solutions

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

 

HTH

Rick

View solution in original post

9 Replies 9

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

balaji.bandi
Hall of Fame
Hall of Fame

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 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

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

try logging trap informational

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.

can you post show version

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

#sh ver

 

config

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.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

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

 

HTH

Rick