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

EEM CLI pattern ".*" sent to a remote syslog

iogden
Level 1
Level 1

Hi,

 

Requirement is to send all CLI activity to a remote syslog server/s, the following configuration sends the syslog message to the local device only, useful but i need the messages sent to remote servers, any help would be appreciated.

 

event manager applet CLIaccounting
event cli pattern ".*" sync no skip no
action 1.0 syslog priority informational msg "$_cli_msg"

 

TACACS+ already implemented, however due to numerous issues, would be advantageous to have both options working. 

3 Replies 3

balaji.bandi
Hall of Fame
Hall of Fame

Not sure what is the device you looking to implement this :

 

if this IOS XE you have feature archive to logging

 

https://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

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Thanks BB - Code is IOS-XE, however I need all commands logged, including error messages and partial commands that invoked device help output.
Again, thank you...

Hi BB,



Running code is IOS-XE, however I need all commands log, proposed solution only logs config commands.



Thanks for your reply.


Review Cisco Networking for a $25 gift card