Add simple diagnose script

This commit is contained in:
KAAAsS 2021-04-15 21:55:55 +08:00
parent 3fb07c0c2d
commit 03e011765b
Signed by: KAAAsS
GPG Key ID: D56625F3E671882F

17
script/diagnose.sh Executable file
View File

@ -0,0 +1,17 @@
#!/bin/bash
set -e
echo "Protocols Status: "
echo
/usr/bin/birdc show protocols
echo "Route to DN42 anycast dns: "
echo
/usr/bin/birdc show route for 172.20.0.53 all
echo "Ping DN42 anycast dns: "
echo
ping -c 4 172.20.0.53