Tuesday, May 29, 2012

All adv xxx cap set at 1

Hello world, 
I have this configuration on my NIC 
/dev/ce1 in a SunOS 5.9 Generic_118558-11 sun4u sparc SUNW,Sun-Fire-V440 
# ndd -set /dev/ce instance 1 
#ndd -get /dev/ce adv_1000fdx_cap 

#ndd -get /dev/ce adv_1000hdx_cap 

#ndd -get /dev/ce adv_100fdx_cap 

#ndd -get /dev/ce adv_100hdx_cap 

#ndd -get /dev/ce adv_10fdx_cap 

#ndd -get /dev/ce adv_10hdx_cap 

#ndd -get /dev/ce adv_autoneg_cap 

Does anybody know what does this setting mean? 
I want to set only autonegotiation to TRUE. 
Thank in advance 
Francesca
Please set all the other parameters to 0 except for autonegotiation. But 
this will be temporary . If you want to make it permanent then you have to 
make a rc script for this,. 
Thanks/Regards 
Autonegotiation is the default so you dont ned to set anything 
If you want to know how to set it something other than the default 
then you can either create an rc script 
If you want autonegotiate, do not set all the options to 0. For 
autonegotiation (the default), everything should be set to 1 (true). If you 
are changing to hard code a particular speed, set all speeds except the one 
you want to use, to 0; and then set adv_autoneg_cap to 0. Negotiation takes 
place after you toggle adv_autoneg_cap, so always set it last. If you want 
to renegotiate, you can togggle it to 0 and then back to 1 (you will likely 
lose connectivity on the interface while doing this). 
With Gigabit devices, and switches. sun highly recommends using autoneg. 
The only time to used a fixed setting is when you need to use a speed other 
than the highest speed, or when the switch max speed is lower than the max 
interface speed. To reduce the options, you may set most of the lower 
speeds to 0, but always leave HDX and FDX turned on as options, in the event 
of a network flap. It will then be able to properly recover to the faster 
connection speed when things settle down.


0 comments:

Post a Comment

 
Design by BABU | Dedicated to grandfather | welcome to BABU-UNIX-FORUM