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

Any command to see login history using CLI

Hello.

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

Thanks.

1 REPLY

Re: Any command to see login history using CLI

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 ***
1845
Views
0
Helpful
1
Replies