Using Embedded Event Manager with SRST

Posted by
Facebooktwitterredditpinterestlinkedintumblr

This configuration example uses Embedded Event Manager (EEM) with Survivable Remote Site Telephony (SRST). In high level, the EEM monitors the IP SLA 300 (IP host alive) to 10.1.1.1 (Cisco Unified Call Manager). If the IP reachability to the said IP goes down, the EEM will execute the EEM applet CUCM-MONITORING-DOWN. When the IP reachability is restored, the EEM will execute the EEM applet CUCM-MONITORING-UP.

track 100 ip sla 100 reachability
delay down 5 up
!
ip sla 100
icmp-echo 10.1.1.1 source-interface GigabitEthernet0/0.11
timeout 2000
frequency 10
!
ip sla schedule 100 life forever start-time now
!
event manager session cli username “eemadmin”
event manager applet CUCM-MONITORING-DOWN
event track 100 state down
action 1.0 cli command “enable”
action 1.5 cli command “config terminal”
action 2.0 cli command “dial-peer voice 2003 voip”
action 3.5 cli command “shut”
action 4.0 cli command “end”
action 4.5 cli command “exit”
event manager applet CUCM-MONITORING-UP
event track 100 state up
action 1.0 cli command “enable”
action 1.5 cli command “config terminal”
action 2.0 cli command “dial-peer voice 2003 voip”
action 3.5 cli command “no shut”
action 4.0 cli command “end”
action 4.5 cli command “exit”

Leave a Reply

Your email address will not be published. Required fields are marked *

*