Marvell Technology interview question

How to debug if ping command fails ?