No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


FAQ-How to Check Interface Duplex and Speed Using ndd_kstat on Solaris

Publication Date:  2012-07-25 Views:  138 Downloads:  0

Issue Description

Q. How to check interface duplex and speed using ndd/kstat on solaris.

Alarm Information


Handling Process

Way to solve the issue:

Use the ndd command to check or set network interface configurables. some of the more important settings, as the relate to speed and duplex, are as follows:
ndd variable values description
link_status 0/1 read only 0 = link up, 1 = link down
link_speed 0/1 read only 0 = 10 meg, 1 = 100 meg
link_mode 0/1 read only 0 = half duplex, 1 = full duplex
adv_autoneg_cap 0/1 read/write 0 = autonegotiation off, 1 = autonegotiation on
adv_100t4_cap 0/1 read/write 0 = 100t4 off, 1 = 100t4 on
adv_100fdx_cap 0/1 read/write 0 = 100/full off, 1 = 100/full on
adv_100hdx_cap 0/1 read/write 0 = 100/half off, 1 = 100/half on
adv_10fdx_cap 0/1 read/write 0 = 10/full off, 1 = 10/full on
adv_10hdx_cap 0/1 read/write 0 = 10/half off, 1 = 10/half on

use the link_status, link_speed, and link_mode variables to check your current network interface. alternatively you can use 'netstat -k' which is extremely verbose. use the adv_* variables to set what you want the interface to be capable of.

more information about the hme driver can be found in this somewhat aged sun hme driver faq.

note: the tips about link_speed and link_mode do not work with /dev/ce (gigabit interfaces). at this time you have to use `netstat -k` for getting speed and status information.

Root Cause



To verify the duplex and speed settings for a network interface.