Setting Ethernet Interface Parameter on Solaris


Choose the interface instance:
# ndd -set /dev/hme instance 0
That selects the first instance: hme0.

Check the status, speed & mode:
# ndd -get /dev/hme link_status
# ndd -get /dev/hme link_speed

# ndd -get /dev/hme link_mode

Howto set parameter on hme0: (ex: 1000Mbps Full duplex)
ndd -set /dev/hme instance 0
ndd -set /dev/hme adv_1000fdx_cap 1
ndd -set /dev/hme adv_1000hdx_cap 0
ndd -set /dev/hme adv_100fdx_cap 0
ndd -set /dev/hme adv_100hdx_cap 0
ndd -set /dev/hme adv_10fdx_cap 0
ndd -set /dev/hme adv_10hdx_cap 0
ndd -set /dev/hme adv_autoneg_cap 0

This also support on any other interface such as bge.

Popular posts from this blog

Howto configure boot device order on ILOM

Installing Depot files on HP-UX 11.23 ia64

SAN Switch Config Command