cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
287
Views
0
Helpful
2
Replies

Cisco Logging level question

dbuckley77
Level 1
Level 1

Currently we have logging level set to 7 debugging on our switches and we're seeing mostly interface up/down messages coming through to our syslog server.  I have been asked to setup logging so that we also see traps sent any time a user logs into a switch in  our syslog server.  Is this possible to do and which logging level should I set to accomplish this?

2 Replies 2

Hi, you can try using access-list logging function.

For instance:

 

conf t
access-list 23 permit ..... log
line vty 0 4
access-class 23 in

 

Regards.

Hi,
You can use the command "login on-success log" to log the username when someone logs into a switch. If you want to log login failures you can use "login on-failure log" command also.

HTH
Review Cisco Networking products for a $25 gift card