Ericsson interview question

How would you diagnose network issues in bash?