Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

How to exclude successful login events from IOS syslog

Hi folks,

Does any one know how to make the syslog running on the router not to log the events associated with a successful login. I would be more interested in only failed logins.

Eugene

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to exclude successful login events from IOS syslog

Try to use something like this:

cisco(config)#login on-failure log
cisco(config)#no login on-success log

Please rate if this helps,

Eugene

3 REPLIES

Re: How to exclude successful login events from IOS syslog

Try to use something like this:

cisco(config)#login on-failure log
cisco(config)#no login on-success log

Please rate if this helps,

Eugene

New Member

Re: How to exclude successful login events from IOS syslog

Hey bro,

You are a genius. Thanks a lot!!!

Looks like it works.

Спасибо, тезка !

Re: How to exclude successful login events from IOS syslog

I am glad to help, namesake

656
Views
0
Helpful
3
Replies
CreatePlease to create content