Command to check all the commands entered on a router
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2016 03:28 PM - edited 03-05-2019 04:25 AM
Hello,
What would be the command to issue on a router to check all the commands that have been entered on it.
Thanks!
- Labels:
-
Other Routers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2016 05:46 PM
Hi,
With in the same session (before logging out), you can try 'show history'. If you want to see commands after you or someone else logged out, try 'logging buffer informational or debug' (debug will generate log of output and can fill buffer quickly) or use external syslog server.
hth
MS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2016 09:11 AM
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2016 11:19 PM
hi,
aside from MS post, you'll need the archive command configured on the router.
see helpful link.
https://routerjockey.com/2010/06/07/using-the-cisco-ios-archive-command/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2016 09:06 AM
Thank you!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2019 10:58 PM
CTY06#show archive
Archive feature not enabled
Can i still see ALL previously or recently entered CLI commands?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2019 12:33 AM
Hello,
actually, if you configure this on your device:
1. enable
2. configure terminal
3. archive
4. log config
5. logging enable
6. logging size entries
7. hidekeys
8. notify syslog
9. end
and then issue the command:
show archive log config all
all configuration changes will be displayed like below:
R1#show archive log config all
idx sess user@line Logged command
36 1 console@console | logging enable
37 1 console@console | logging size 1000
38 1 console@console | hidekeys
39 1 console@console | notify syslog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2023 09:34 PM
Thanks, Georg. This helped a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2019 06:28 AM
Hi,
There are many options as
1. Check with SHOW HISTORY command.
2. Check with SHOW Archive command (If configured)
3. Check logs on buffer or log server (if enabled).
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2019 09:18 AM
2. Check with SHOW Archive command (If configured),you mean show archive
config diff? not many shown
3. Check logs on buffer or log server (if enabled). not enabled
any other options?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2019 10:45 AM
Did you configure the archive logging as described above ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2020 02:11 AM
