• Home
  • blog
  • about us
    • Our team
    • about us
    • contact us
  • Toolbox
Ar
۱

Automatic Turn off Debugger

20 March 2021Hoseini Hamid RezaPublic, ِDevnet

ِDebug command in cisco devices is one of the best tools for troubleshooting, but sometimes after solving a problem or something else we log out and forgot to turn off the debug.  sometimes this happen could made the router in trouble.

I prepared this script to check online users in line VTY and turn off debugging if no active user exists on the router. Substitute your IP address and user and password in the testbed file correctly.

you can run this script with a specific interval time, these link could be useful for Scheduling the script:
https://datatofish.com/python-script-windows-scheduler 
https://phoenixnap.com/kb/set-up-cron-job-linux 

Download Link : https://github.com/HamidHosseini74/Devnet

 

Tags: automation, devnet, Genie, netmiko
Hoseini Hamid Reza
سید حمید رضا حسینی با دو سال سابقه حرفه ای در حوزه های R&S and VOIP شبکه به عنوان یک متخصص در این زمینه ها شناخته می شود. تخصصی که حاصل تجارب عیب یابی و راه اندازی های متعدد در پروژه های مختلف می باشد.روحیه کار تیمی و یادگیری سریع مطالب به صورت خودآموز (self-study) از ویژگی های شخصیتی اوست.

Leave a Reply Cancel reply

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

Recent Posts

  • BGP EVPN with FRR
  • Automatic Turn off Debugger
  • Python script to create jabber phones
  • CRC Error check Script
  • vPC Types

Categories

  • Datacenter
  • Devnet-English
  • Public
  • Security
  • ِDevnet
[carousel-horizontal-posts-content-slider]
Homeabout usContact usblog
All rights reserved for IP Cafe © 2021