cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1162
Views
0
Helpful
1
Replies

eem script for 'config t'

h.ulm
Level 1
Level 1

Is it possible to take an action (i.e. an email or a syslog message) if someone had typed 'conf t'  or 'config term' ?

This is to notify  that something seems to be getting configured before it really happens..

the match should be on all possible variations of the 'configure terminal' command.

I do know how to create an email using eem; but how to match/track the config mode ?

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

Sure.  You can use the CLI event detector for this:

 

event manager applet config-policy

 event cli pattern "^configure terminal" sync yes

 ...