( while true; do
echo "===== $(date) ====="
cli -c "show interfaces et-* extensive | match \"Physical interface|Link flaps|FEC|Bit errors|Errored blocks|Input errors|CRC\""
cli -c "show interfaces diagnostics optics et-0/0/48 | match \"power|bias|temperature\""
cli -c "show interfaces diagnostics optics et-0/0/49 | match \"power|bias|temperature\""
cli -c "show interfaces diagnostics optics et-0/0/50 | match \"power|bias|temperature\""
cli -c "show interfaces diagnostics optics et-0/0/51 | match \"power|bias|temperature\""
sleep 300
done ) | tee /var/tmp/soak_$(hostname).log