Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

How to make 3500XL syslog upon login or failed login ?

C3500XL Software (C3500XL-C3H2S-M), Version 12.0(5)WC11, RELEASE SOFTWARE (fc1)

I have the 6509's in my network send syslog to LMS 2.2 when anyone logs in. This is sent to my nextel.

I cannot get the 3548's to do this, here is my snmp conf.

What gives, anyone got this working ?

logging trap debugging

logging 10.x.x.x.

snmp-server community xxxxxxx RW

snmp-server community xxxxxxx RO

snmp-server system-shutdown

snmp-server enable traps snmp authentication linkdown linkup coldstart

snmp-server enable traps vlan-membership

snmp-server enable traps config

snmp-server enable traps entity

snmp-server enable traps hsrp

snmp-server enable traps c2900

snmp-server enable traps vtp

snmp-server enable traps cluster

snmp-server host 10.x.x.x trap public

1 ACCEPTED SOLUTION

Accepted Solutions
Bronze

Re: How to make 3500XL syslog upon login or failed login ?

Use the commands under the Global configuration mode.

login on-sucess

login on-failure

http://www.cisco.com/en/US/products/sw/iosswrel/ps5207/products_feature_guide09186a00801d1cb3.html#wp1048295

4 REPLIES
Bronze

Re: How to make 3500XL syslog upon login or failed login ?

Use the commands under the Global configuration mode.

login on-sucess

login on-failure

http://www.cisco.com/en/US/products/sw/iosswrel/ps5207/products_feature_guide09186a00801d1cb3.html#wp1048295

New Member

Re: How to make 3500XL syslog upon login or failed login ?

Thanks Pradeepde, I guess I'm going to have to upgrade IOS across my network.

(C3500XL-C3H2S-M), Version 12.0(5)WC11, RELEASE SOFTWARE (fc1)

Thanks again for the help.

New Member

Re: How to make 3500XL syslog upon login or failed login ?

Hi,

I have this working in my network now, if you wish to log attempts to login to your switches you can use the following,

login block-for 10 attempts 3 within 3

login on-failure log

login on-success log

* You must create a user or it will not log *

(config)# user test password test

(config)# line vty 0 15

(config-line)# login local

New Member

Re: How to make 3500XL syslog upon login or failed login ?

Hi I have the same problem, I want syslog to have all failed and succefull login attempts. I configured as following:

login on-sucess log

login on-failure log

But after some failed login attempts, the syslog does not show anything linked with failed login attempts.

My IOS version is 12.2(25)SEB2.

Any ideas will be of great help.

213
Views
0
Helpful
4
Replies