Cisco style ping tool written Python