Any command to see login history using CLI

Unanswered Question
Jan 2nd, 2009

Hello.

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

Thanks.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
John Blakley Fri, 01/02/2009 - 07:03

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*

Actions

This Discussion