I want to use IP SLA to perform simple up/down monitoring of an IP host and to generate a syslog alert if the host goes down.
I have a 2650XM router running 12.4(23) IP Voice IOS.
My basic IP SLA config is hown below:
ip sla monitor 10
type echo protocol ipIcmpEcho 10.55.1.1
ip sla monitor schedule 10 life forever start-time now
Based upon the output of the show ip sla monitor statistics command the up/down status of the host is being tracked ok.
GWYDAT01#sho ip sla monitor statistics
Round trip time (RTT) Index 10
Latest RTT: NoConnection/Busy/Timeout
Latest operation start time: 09:23:19.426 BST Thu May 20 2010
Latest operation return code: Timeout
Number of successes: 24!
logging buffered 4096 debugging
logging console informational
Operation time to live: Forever
I didnt mentioned the below command
snmp-server enable traps rtr
Try it and let me know, also enable debug snmp packets and see when violation occurs does the device sends traps to NMS, just for verification.