Tuesday, January 17, 2012

dladm and ndd in Solaris 10


show-dev is a dladm subcommand which lists only physical NICs along with their physical link state.

bash-3.00# dladm show-dev
e1000g0         link: up        speed: 1000  Mbps       duplex: full
e1000g1         link: up        speed: 1000  Mbps       duplex: full
e1000g2         link: up        speed: 1000  Mbps       duplex: full
e1000g3         link: up        speed: 1000  Mbps       duplex: full

ndd - get and set driver configuration parameters

To see which parameters are supported by the e1000g driver, use the following command:

# ndd /dev/e1000g2 \?

To set the full 1GB full-duplex negotiation:

ndd -set /dev/e1000g2 adv_1000fdx_cap 1


No comments: