ip SLA

Recently I was thinking if there were any tools available for me to enable some continuous ICMP packets to ping a remote router for reachability. Found a nice tool within Cisco’s IOS that gets the job done. IP SLA has many options, but the one I will be discussing here is a simple ICMP-ECHO message what will just ping a remote router to check for reachability.

Simple Design:

Config for Router1:

Router1#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router1(config)#ip sla 1
Router1(config-ip-sla)# icmp-echo source-ip
Router1(config-ip-sla-echo)# frequency 5
Router1(config)#ip sla schedule 1 life forever start-time now

To verify that you are successfully reaching the other device run the “show ip sla statistics” command:

Router1#show ip sla statistics
IPSLAs Latest Operation Statistics

IPSLA operation id: 1
Type of operation: icmp-echo
Latest RTT: 1 milliseconds
Latest operation start time: *23:28:25.289 Pacific Fri Sep 15 2017
Latest operation return code: OK
Number of successes: 14
Number of failures: 0
Operation time to live: Forever


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s