ndd and le1

I am trying to set an interface to 100/Full, but the command I use are getting rejected. I think it is the last argument, but I don't know how to find the correct values.

I am trying to use the following script, but change hme to le .

echo "Setting hme interface 1: 100mb/full-duplex..."

ndd -set /dev/hme instance 1

ndd -set /dev/hme adv_100T4_cap 0
ndd -set /dev/hme adv_100fdx_cap 1
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

echo "...Done."

Any help would be great.

The hme interface supports 100Mbps but the le interface does not. Do a "man le" and a "man hme".

In the /etc/system file you can put the following lines into the file to force the interface to be 100/fullduplex upon bootup. Like the response above le0 or le1 is a10mbs interface not 100mbs.

set hme:hme_adv_auotneg_cap=0
set hme:hme_adv_100fdx_cap=1
set hme:hme_adv_100hdx_cap=0

this configuration in the /etc/system file will

1)force the machine to 100/fullduplex
2) will not autonegotiate