Automatic Turn off Debugger
ِ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…