Sunday, July 10, 2016

How to troubleshoot network related issues?

How to troubleshoot network related issues?


The below commands are very useful when you troubleshoot any network related issues.


Commands
         Explanation
# errpt   
To Check the errpt error
# errpt|more   
To check the error
# errpt -aj <identifier>  
To Check the detailed error
# lsdev -Cc adapter
To Check the adapter device details
# entstat ethX    
To check the ethernet statistics
# netstat -v      
To check the detailed output of ethernet card
# netstat -v|grep -E "ETHERNET|Adapter|Errors|State"   
To check the errors with detailed output
# netstat -v|grep -E "ETHERNET|Adapter|State"   
To check the detailed output
# netstat -v|grep -E "ETHERNET|Device|State"    
To check the link status and state.