cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
343
Views
0
Helpful
3
Replies

How can I see which user on what used command on my router

behdad_ccie
Level 1
Level 1

hi

How can I see which user on what used command on my router

I used eem but with  this scrip I could not see which user set command but I see command

event manager applet CLIaccounting
 event cli pattern ".*" sync no skip no
 action 1.0 syslog priority informational msg "$_user_cli_msg"
 set 2.0 _exit_status 1

3 Replies 3

Mark Malone
VIP Alumni
VIP Alumni

Hi

rather than eem use change notification and logging on your devices its available ios and ios-xe , that will provide what you need when someone makes a change , please see doc very little configuration required

http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/config-mgmt/configuration/xe-3s/config-mgmt-xe-3s-book/cm-config-logger.html

hi my friend

this method does not show enable mode command in logging buffer

I want to log any command that users set in router

hi,

you can use the archive command.

see helpful link:

https://routerjockey.com/2010/06/07/using-the-cisco-ios-archive-command/

Review Cisco Networking for a $25 gift card