Networks Training

  • About
  • My Books
  • SUGGESTED TRAINING
  • HOME
  • Cisco Networking
    • Cisco General
    • Cisco IOS
    • Cisco VPN
    • Cisco Wireless
  • Cisco ASA
    • Cisco ASA General
    • Cisco ASA Firewall Configuration
  • Certifications Training
    • CCNA Training
    • Cisco Certifications
    • I.T Training
  • General
    • General Networking
    • IP Telephony
    • Network Security
    • Product Reviews
    • Software
  • Cisco Routers
  • Cisco Switches
You are here: Home / Cisco General / Configuring Cisco IP SLA (IP Service Level Agreement Tutorial)

Configuring Cisco IP SLA (IP Service Level Agreement Tutorial)

Written By Harris Andrea

Getting back to the basics!  Sometimes less is more and with this simple IOS IP SLA configuration tutorial this is true.

Cisco IOS IP SLA (Service Level Agreement) is a tool that can be used to generate synthetic network traffic used for network management.  SLA can be configured to send TCP connects, ICMP or even UDP packets.  These packets can be used to measure metrics to ensure you are getting the performance you expect.

One of the simplest, yet most valuable, SLA configurations is ICMP.  Cisco SLA can be configured to send ICMP packets to a remote device to ensure you are getting an appropriate latency across a link.  For our example this is exactly what we will be looking at.

Our topology for this will be as follows:

Configuration Tasks:

  1. Create SLA Session
  2. Define SLA Traffic Type
  3. Define SLA destination.
  4. Configure SLA frequency.
  5. Configure SLA Schedule
  6. Review Configuration
  7. Monitor Statistics

1.  ip sla 1

With the above command we configure an SLA session number of “1”.

2.  icmp-echo 10.242.126.21

Above we define that we want to use icmp-echo traffic type and our destination is 10.242.126.21

MORE READING:  How to Configure Cisco SPAN - RSPAN - ERSPAN (With Configuration Commands)

3.  frequency 5

Here we define the frequency, in seconds, of 5.  This means that ICMP packets will be sent every 5 seconds to 10.242.126.21.

4.  ip sla schedule 1 life forever start-time now

With this command we set the schedule for the SLA monitor to use.  We have specified that the schedule for SLA 1 should run for a lifetime of forever and should start immediately, “now”.

5.  show ip sla configuration

IP SLAs Infrastructure Engine-II
Entry number: 1
Owner:
Tag:
Type of operation to perform: icmp-echo
Target address/Source address: 10.242.126.21/0.0.0.0
Operation timeout (milliseconds): 5000
Type Of Service parameters: 0x0
Vrf Name:
Request size (ARR data portion): 28
Verify data: No
Schedule:
Operation frequency (seconds): 5  (not considered if randomly scheduled)
Next Scheduled Start Time: Start Time already passed
Group Scheduled : FALSE
Randomly Scheduled : FALSE
Life (seconds): Forever
Entry Ageout (seconds): never
Recurring (Starting Everyday): FALSE
Status of entry (SNMP RowStatus): Active
Threshold (milliseconds): 5000 (not considered if react RTT is configured)
Distribution Statistics:
Number of statistic hours kept: 2
Number of statistic distribution buckets kept: 1
Statistic distribution interval (milliseconds): 20
History Statistics:
Number of history Lives kept: 0
Number of history Buckets kept: 15
History Filter Type: None

Above we are able to review our configuration for the SLA monitor 1.

MORE READING:  Cisco Vs Juniper

6. show ip sla statistics

IPSLAs Latest Operation Statistics

IPSLA operation id: 1
Type of operation: icmp-echo
Latest RTT: 3 milliseconds
Latest operation start time: 17:15:40.203 EDT Sat Aug 18 2012
Latest operation return code: OK
Number of successes: 481
Number of failures: 0
Operation time to live: Forever

Here we can see the information we can hold over our ISP’s head. We can see that we have send 481 ICMP packets and they have been successful, we have had no failures and our latest RTT was 3 ms.

Cisco IP SLA configuration has many more uses such as tracking for failover and route selection.  Check out more here:

http://www.cisco.com/en/US/products/ps6602/products_ios_protocol_group_home.html

Related Posts

  • Cisco Command to Test a Copper UTP Ethernet Cable on a Switch
  • What is Cisco Meraki ? Some FAQ About Cisco Meraki You Need to Know
  • What is Cisco Identity Services Engine (ISE)? Use Cases, How it is Used etc
  • Readers Favorite Posts – Articles Liked by our Visitors
  • Cisco IOS Command Line Interface (CLI) Keyboard Shortcuts

Filed Under: Cisco General

Download Free Cisco Commands Cheat Sheets

Enter your Email below to Download our Free Cisco Commands Cheat Sheets for Routers, Switches and ASA Firewalls.

We use Elastic Email as our marketing automation service. By submitting this form, you agree that the information you provide will be transferred to Elastic Email for processing in accordance with their Terms of Use and Privacy Policy. Also, you allow me to send you informational and marketing emails from time-to-time.

About Harris Andrea

Harris Andrea is an Engineer with more than two decades of professional experience in the fields of TCP/IP Networks, Information Security and I.T. Over the years he has acquired several professional certifications such as CCNA, CCNP, CEH, ECSA etc.

He is a self-published author of two books ("Cisco ASA Firewall Fundamentals" and "Cisco VPN Configuration Guide") which are available at Amazon and on this website as well.

Comments

  1. Peter Annan says

    August 31, 2012 at 4:26 pm

    This lesson is interesting topic I need more.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search this site

About Networks Training

We Provide Technical Tutorials and Configuration Examples about TCP/IP Networks with focus on Cisco Products and Technologies. This blog entails my own thoughts and ideas, which may not represent the thoughts of Cisco Systems Inc. This blog is NOT affiliated or endorsed by Cisco Systems Inc. All product names, logos and artwork are copyrights/trademarks of their respective owners.

Amazon Disclosure

As an Amazon Associate I earn from qualifying purchases.
Amazon and the Amazon logo are trademarks of Amazon.com, Inc. or its affiliates.

Search

BLOGROLL

Tech21Century
Firewall.cx

Copyright © 2023 | Privacy Policy | Terms and Conditions | Hire Me | Contact | Amazon Disclaimer | Delivery Policy

0 shares