ndd command for bge interface ?

  • Follow


How do I force the settings on a bge interface ?

The standard ndd commands work for my other interfaces, but not for the bge
interfaces.
I can try and force it to 100Mb, or 1Gb, but when I query the interface's
speed, I get the value o (zero) back.

I use the following, and don't get any errors, but the interface doesn't
seem to be forced:

ndd -set /dev/bge0 adv_100fdx_cap 1
ndd -set /dev/bge0 adv_100hdx_cap 0
ndd -set /dev/bge0 adv_10fdx_cap 0
ndd -set /dev/bge0 adv_10hdx_cap 0
ndd -set /dev/bge0 adv_autoneg_cap 0


the same commands work for hme & ge, why not for bge ?


Regards
Dirk


0
Reply Dirk 11/24/2004 12:51:26 PM

Dirk Moolman wrote:

> How do I force the settings on a bge interface ?
> 
> The standard ndd commands work for my other interfaces, but not for the bge
> interfaces.
> I can try and force it to 100Mb, or 1Gb, but when I query the interface's
> speed, I get the value o (zero) back.
> 
> I use the following, and don't get any errors, but the interface doesn't
> seem to be forced:
> 
> ndd -set /dev/bge0 adv_100fdx_cap 1
> ndd -set /dev/bge0 adv_100hdx_cap 0
> ndd -set /dev/bge0 adv_10fdx_cap 0
> ndd -set /dev/bge0 adv_10hdx_cap 0
> ndd -set /dev/bge0 adv_autoneg_cap 0
> 
> 
> the same commands work for hme & ge, why not for bge ?
> 
> 
> Regards
> Dirk
> 
> 
man bge

<snip>

      For example, to prevent the device 'bge2'  from  advertising
      gigabit capabilities, enter (as super-user):

      # ndd -set /dev/bge2 adv_1000hdx_cap 0
      # ndd -set /dev/bge2 adv_1000fdx_cap 0

</snip>

Regards,
Thomas
0
Reply Thomas 11/24/2004 1:26:31 PM


1 Replies
586 Views

(page loaded in 0.063 seconds)

Similiar Articles:













7/23/2012 4:45:35 AM


Reply: