I am using router 1812
1) How can I find what commands have been entered on a router?
2) How can I log all these commands to a file / syslog?
3) How can I find, let's say, the last 10 login attempts?
Consider the following:
To enable logging of user information, and the counting of various types of syslog messages:
Note: Use "show logging count" to derive benefit of "logging count".
To regulate and log user logins (failed and successful):
login block-for 120 attempts 4 within 120
login on-failure log
login on-success log
To log configuration changes via syslog:
Edit: For some reason the post is displayed differently than I pasted it. The four commands under "archive" are sub commands and should be shown as indented.
logging origin-id hostname
1.)Enter the command show history
2.)configure logging x.x.x.x where x= IP-Addr. of your file / or syslog server
3.)configure logging userinfo, where the user has than to change his Login from disable to enable Modus.