Operating System - HP-UX
1819933 Members
3499 Online
109607 Solutions
New Discussion юеВ

Set autoneg=off....currently it is ON

 
hp_user_1
Regular Advisor

Set autoneg=off....currently it is ON

Hi,

I have a 1000BaseSX ethernet adapter configured for data vlan. It is set to 1000 speed with autoneg=on...I like to change autoneg to off online....Please advise..

Thanks
12 REPLIES 12
James A. Donovan
Honored Contributor

Re: Set autoneg=off....currently it is ON

If you want 1000 speed you cannot change the auto-negotiation. For lower speeds you can.

Take a look at the valid options in the /etc/rc.config.d/hpgelanconf file.
Remember, wherever you go, there you are...
Dave Hutton
Honored Contributor

Re: Set autoneg=off....currently it is ON

From my understanding this is about the only card you DO want autoneg on.

Dave
Hazem Mahmoud_3
Respected Contributor

Re: Set autoneg=off....currently it is ON

SAM->Networking & Communications->Network Interface Cards-> (highlight the card you want) -> Actions (menu item up top) -> Configure -> Then set the "Autoneg" to "Off"

-Hazem
Steven E. Protter
Exalted Contributor

Re: Set autoneg=off....currently it is ON

If you got the 1000BaseSX card from HP, and its certified for HP-9000 servers, you can not turn off autonegotiate successfully and have the card work.

So I recommend you cease any attempts to turn off autonegotiate and let the card be. If the switch is 1000BaseT the setting there also should be autodectect.

You will get your speed.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Tom Smith_9
Frequent Advisor

Re: Set autoneg=off....currently it is ON

Look in the file, /etc/hpgelanconf and set the parameter "HP_GELAN_AUTONEG" to "0" for disable. Then stop your network and restart it, and it should start with auto off.

Ashwani Kashyap
Honored Contributor

Re: Set autoneg=off....currently it is ON

for 1000BT cards , you should leave autoneg ON .
hp_user_1
Regular Advisor

Re: Set autoneg=off....currently it is ON

Actually I have two identically built rp8400's. The /etc/rc.config.d/hpigelanconf files are identical too, but one one of them the card is autoneg=off while on the other one it is autoneg=on. I tried and could not change it to off.

That is one of our standards here.

Thanks
James A. Donovan
Honored Contributor

Re: Set autoneg=off....currently it is ON

From the release notes...

"1000Base-SX operates only at 1000 Mbps and only in full-duplex mode. It does not interoperate with the 100Base-FX card."

http://docs.hp.com/hpux/onlinedocs/J5683-90006/J5683-90006.html
Remember, wherever you go, there you are...
hp_user_1
Regular Advisor

Re: Set autoneg=off....currently it is ON

Both 1000BaseSX cards on either servers are set up at 1000/FD but one is autoneg=off and the other one autoneg=on...... I need to turn the later off.

Thomas Bianco
Honored Contributor

Re: Set autoneg=off....currently it is ON

It should be noted that the 1000baseTX (gig/copper) standard REQUIRES autonegotiation. It's not OPTIONAL as in earlier standards. It is unlikely you will be able to get a non-autoneg card to operate at 1000 unless the card specifically allows this.

Does anyone know if this is the case with gig/fibre?
There have been Innumerable people who have helped me. Of course, I've managed to piss most of them off.
rick jones
Honored Contributor

Re: Set autoneg=off....currently it is ON

Ashgar -

Your standards need to be updated - as pointed-out, autoneg is a _required_ part of the gigabit specification. Autoneg on Gigabit is robust and "just works."

And even for 100BT, these days, autoneg is rather reliable.

The only place where you can "mess" with autoneg on a "gigiabit" card is with a _copper_ card (-T rather than -SX) when you force it to 100 megabit. Even then though, unless you have old broken 100BT switches, the gigabit cards today should autoneg just fine.
there is no rest for the wicked yet the virtuous have no pillows
Mihaita Bighiu
Advisor

Re: Set autoneg=off....currently it is ON

Please use:
lanadmin -X auto_off

Here are other options for 1000SX cards to be used:

Hope this will help,
MB

help List the -x/X options that display and set card parameters
10hd Set the speed of a 1000Base-T card to 10 Mbps half-duplex
10fd Set the speed of a 1000Base-T card to 10 Mbps full-duplex
100hd Set the speed of a 1000Base-T card to 100 Mbps half-duplex
100fd Set the speed of a 1000Base-T card to 100 Mbps full-duplex
auto_on Set the card in autonegotiation mode
auto_off Turn off autonegotiation mode for a 1000Base-SX card
fctrl on Turn on receive flow control
fctrl off Turn off receive flow control
stats clear Clear all driver and adapter statistics
send_max_bufs Set send buffer coalescing threshold [1 - 128] default 16
recv_max_bufs Set receive buffer coalescing threshold [1 - 256] default 1
send_coal_ticks Set send interrupt coalescing ticks [0 - 10000000] default 1000
recv_coal_ticks Set receive interrupt coalescing ticks [0 - 10000000] default 0