Below is the SLA configuration and snmp configuration required to generate the Traps for SLA activity.
ip sla 5
icmp-echo
192.168.100.1
ip sla schedule 5
life forever start-time now
ip sla
reaction-configuration 5 react timeout threshold-type immediate action-type
trapOnly
ip sla logging traps
ip sla enable
reaction-alerts
snmp-server enable traps syslog
snmp-server enable traps ipsla
snmp-server host 192.168.1.2 version 2c Monitoring_server_string syslog