add troubleshooting script to do layer1 troubleshooting