• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

Roger Perkin

Network Automation Architect

  • Network Automation
    • Network Automation Courses
    • What is NetDevOps?
    • Workflow Orchestration
    • Ansible Automation Platform
    • Ansible Workshop
    • What is Network Automation?
    • Network Automation Tools
    • ContainerLab
    • Ansible Training
      • What is Ansible?
      • Ansible Tutorial for Beginners
      • Ansible Network Automation
      • Ansible Inventory Example
    • Python Network Automation
      • Nornir
      • Python Network Automation Course
      • Python for Network Engineers
      • Python VENV / Virtual Environment Tutorial
      • Python Tutorial for Beginners
      • pyATS
    • Network Source of Truth
      • NetBox
      • Infrahub
    • NetDevops
    • DevOps Tutorial
      • Git Training
      • Terraform Training
      • Linux Training
      • Kubernetes Training
      • Devops Training Course
      • Azure Devops Training
    • Terraform
    • GIT
      • Git Commands
      • What is GitHub?
    • Docker Training
    • Confluence
    • Microsoft Azure
  • Cisco
    • ISE
    • SD WAN Training
    • Password Recovery
    • Software-Upgrade-Guides
    • BGP
    • Data Center
    • WIRELESS
  • CCIE
  • Blog
  • About
    • My Red Special Guitar
  • Contact

How do I clear counters on IP SLA Statistics?

Home » Uncategorized

I was working on some IP SLA problems this evening and needed to clear the ip sla statistics output. Thinking there should be a clear ip sla statistics command I was wrong!

I was about to remove the config and re-apply it and then found the answer!

In the configuration parser issue the command “ip sla restart <ID>”

R7#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R7(config)#ip sla restart ?
<1-2147483647> Entry Number

so in my example all I had to do was ip sla restart 1

Failures reset to zero!

R7#sh ip sla statistics

Round Trip Time (RTT) for Index 1
Latest RTT: 1 milliseconds
Latest operation start time: 15:11:25 UTC Wed Jul 31 2013
Latest operation return code: OK
Number of successes: 3
Number of failures: 0
Operation time to live: 3588 sec

Category: UncategorizedTag: ccie troubleshooting, counters, ip sla stastics
ansible course for network engineers
Get Access to my Ansible Course NOW
Previous Post:CCIE Mobile Lab London
Next Post:INE 5 Day CCIE Troubleshooting Bootcamp – Final Thoughts

Reader Interactions

Comments

  1. stretch

    August 1, 2013 at 3:16 pm

    Thanks for the tip! Strange that there’s no clear command for this.

Sidebar

Hi I'm Roger Perkin,
Based in the UK working as a Network Automation Architect, CCIE #50038
About Roger | Twitter | Linkedin

python course for network engineers

Topics

Network Automation
Ansible
Python for Network Automation
CCIE
Cisco ISE
F5 Certification
BGP
OSPF
Network Automation Conferences
auvik promo banner
Pluralsight Trial

Git for Network Engineers

Ansible vs Nornir

Start learning today with my Network Automation Courses

Master Ansible, Python, Git, Nornir, Jenkins and more..


Buy me a coffeeBuy me a coffee

ansible network automation course

Have you seen my YouTube Channel?

YouTube Subscribe

Let’s get started

Take a look at my premium courses on Ansible, Nornir & Git or buy them all with the Network Automation Bundle!

Network Automation Courses

Navigation

Python VENV Tutorial
Python for Network Engineers

Network Automation
Network Automation Courses
Network Discovery Tools
Network Automation Conferences
Ansible Training
What is Ansible?
Devops Tutorial
Network Source of Truth
DevOps Glossary
Network Monitoring Software

Contact

Contact

Get in touch with me here

[email protected]

  • Twitter
  • LinkedIn
  • YouTube
Buy me a coffeeBuy me a coffee

Copyright © 2025 · Roger Perkin · All Rights Reserved · Privacy Policy – Terms