Useful network command in CentOS,RHEL, for troubleshooting.
If ifconfig is not working then also some network command is used instead of it.
( 1 ) To view the details of the network interface card this command is used.
Output
( 2 ) View the statistics of the network interface.Used for port status to check it is up or down.
Output
( 3 ) To view network interface status as well as traffic on particular interface Rx and Tx both.
If ifconfig is not working then also some network command is used instead of it.
( 1 ) To view the details of the network interface card this command is used.
ip addr
Output
( 2 ) View the statistics of the network interface.Used for port status to check it is up or down.
ip link
Output
( 3 ) To view network interface status as well as traffic on particular interface Rx and Tx both.
ip link
Output