Willard Korfhage wrote: > For some reason, the Ethernet port on a server running build 134 suddenly > started auto-negotiating to 10 Mbps instead of 1000 Mbps. I tried to turn > auto-negotiation off so I could set the speed manually, but I am unable to do > so > > % pfexec dladm reset-linkprop -p adv_autoneg_cap bge0 > % dladm show-linkprop -p adv_autoneg_cap bge0 > LINK PROPERTY PERM VALUE DEFAULT POSSIBLE > bge0 adv_autoneg_cap rw 1 1 1,0 > > Should I be doing this a different way?
"reset-linkprop" means "set this property back to the standard default, whatever that might be." So, it's doing what you asked (the default is to enable autonegotation), but probably not what you wanted. You would disable autonegotiation like this: pfexec dladm set-linkprop -p adv_autoneg_cap=0 bge0 ... but, in case you haven't been cautioned before, I'll do so now: don't do this. Really. Don't. Disabling autonegotiation opens you up to a world of extreme hurt. In particular, you *must* nail all of the properties as needed on *both* sides of the link. If you don't, then you'll see an obscure link failure. The standards require that when one side negotiates, and the other does not, then the one that tries to negotiate and fails has to fall back to a minimum value -- like 10Mbps half-duplex. The error you're seeing is most likely caused by having erroneously set the other side to "forced" duplex or speed. That other end should be fixed, rather than disabling autonegotiation locally. I know you're still going to try it. But at least I can say I warned you. -- James Carlson 42.703N 71.076W <[email protected]> _______________________________________________ networking-discuss mailing list [email protected]
