cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
15881
Views
0
Helpful
1
Replies

Any command to see login history using CLI

taoleiccie
Level 1
Level 1

Hello.

Without a syslog server, is it possible to check login history (when & who) by using CLI?

Thanks.

1 Reply 1

John Blakley
VIP Alumni
VIP Alumni

Yes and no. :-)

You can log to the router/switch using:

login on-success log

The problem with this is that it logs to the buffer which will eventually overwrite. I would suggest a syslog server if possible. And this line doesn't work if you're authenticating to a RADIUS or TACACS server, it only works if you're using local authentication.

HTH,

John

*please rate if helpful*

HTH, John *** Please rate all useful posts ***
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: