Cisco EEM Script To Email On Successful SSH Login

Here’s a quick EEM script I wrote to email you the information of someone who just SSH’d into the Router successfully. event manager environment _email_to [email protected] event manager environment _email_server X.X.X.X event manager environment _email_from [email protected] event manager applet email event syslog pattern “SEC_LOGIN-5-LOGIN_SUCCESS” action 1.0 cli command “enable” action 2.0 cli command “show users” …

How To Fix IPSec Anti Replay Errors On Cisco IOS and IOS XE

I’m sure you’ve all logged into a VPN Router once or twice and seen this syslog: %IOSXE-3-PLATFORM: R0/0: cpp_cp: QFP:0.0 Thread:000 TS: %IPSEC-3-REPLAY_ERROR: IPSec SA receives anti-replay error, DP Handle X, src_addr x.x.x.x, dest_addr y.y.y.y, SPI 0x0 Here is everything you need to know regarding the feature, the causes of the syslog, and the solutions …

Cisco EEM Script to Email On Successful Anyconnect Login Of Router

Here is an EEM script that will email you information about a user who just logged into the Router via anyconnect event manager environment _email_to [email protected] manager environment _email_server X.X.X.Xevent manager environment _email_from [email protected] manager applet anyconnectemailevent syslog pattern “SSLVPN-5-LOGIN_AUTH_PASSED”action 1.0 cli command “enable”action 2.0 cli command “show webvpn session context all”action 8.0 mail server …