When troubleshooting networking issues, it is often helpful to
determine the state of an ethernet interface. Solaris offers access to many
configurable networking parameters through ndd.
To determine the ethernet interface link status, duplex, and speed on hme0, run the following commands as superuser:
ndd -set /dev/hme instance 0 ndd
-get /dev/hme link_status
ndd -get /dev/hme link_mode
ndd -get /dev/hme link_speed
ndd -get /dev/hme link_mode
ndd -get /dev/hme link_speed
If you have only
one ethernet interface, you can leave out the instance command. Otherwise, you
can specify the hme instance number there. The results of the next three
commands are either 1 or 0. In each case, the value means:
link_status:
0=down 1=up
link_mode: 0=half duplex 1=full duplex
link_speed: 0=10Mbps 1=100Mbps
link_mode: 0=half duplex 1=full duplex
link_speed: 0=10Mbps 1=100Mbps
Thank you for such a wonderful Information !!
ReplyDeleteHere is a list of Top LINUX INTERVIEW QUESTIONS
Veritas Cluster Interview Questions
SAMBA Server Interview Questions
Linux FTP vsftpd Interview Questions
SSH Interview Questions
Apache Interview Questions
Nagios Interview questions
IPTABLES Interview Questions
Ldap Server Interview Questions
LVM Interview questions
Sendmail Server Interview Questions
YUM Interview Questions
NFS Interview Questions
Read More at :- Linux Troubleshooting