Configure RTR/SLA Ping in IOS

Download Template
This configures and schedules the pinging of a destination ip address. I tend to define "site codes" which is generally the third octet of a given site's /24 address space. For example: Beijing, China = 192.168.56.0/24 , site code is "56" rtr 56 type echo protocol ipIcmpEcho 192.168.56.1 frequency 300 rtr schedule 56 life forever start-time now Once this is configured you can then use snmp to graph response times using the following oid: 1.3.6.1.4.1.9.9.42.1.2.10.1.1.%[destination_code]% Example: snmpget -v 2c -c your_snmp_community source_router_ip 1.3.6.1.4.1.9.9.42.1.2.10.1.1.56

akonkol
February 22, 2012


rtr %{destination_code}%
type echo protocol ipIcmpEcho %{destination_ip}% 
frequency 300
rtr schedule %{destination_code}% life forever start-time now\


----Version 12.2(55)SE----
conf t
ip sla %{destination_code}%
    icmp-echo %{destination_ip}%
    frequency 300

ip sla schedule %{destination_code}% life forever start-time now
end

You must be logged in to comment.