Operating System - HP-UX
1833573 Members
3364 Online
110061 Solutions
New Discussion

Re: speed on core lan interfase

 
SOLVED
Go to solution
Jannik
Honored Contributor

speed on core lan interfase

Hey,

I have the following interfase:
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
lan 0 0/0/0/1/0 igelan CLAIMED INTERFACE HP A7109-60001 PCI 1000Base-T Core

Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/0/1/0 0x001279950614 0 UP lan0 snap0 1 ETHER Yes 119

I can change the interfase speed by doing:
lanadmin -sx 100FD 0

And to set it permanently i have done the following:
vi /etc/rc.config.d/hpgelanconf
HP_GELAN_INTERFACE_NAME[0]="lan0"
HP_GELAN_STATION_ADDRESS[0]="0x001279950614"
HP_GELAN_SPEED[0]="100fd"
HP_GELAN_MTU[0]=
HP_GELAN_FLOW_CONTROL[0]=
HP_GELAN_AUTONEG[0]="0"
HP_GELAN_SEND_COAL_TICKS[0]=
HP_GELAN_RECV_COAL_TICKS[0]=
HP_GELAN_SEND_MAX_BUFS[0]=
HP_GELAN_RECV_MAX_BUFS[0]=
HP_GELAN_SEND_CKO[0]=
HP_GELAN_RECV_CKO[0]=
HP_GELAN_DIAG_THRESH[0]=

Is that correct ?
Should the 0x be there on the station address ?

/Jannik
jaton
5 REPLIES 5
Peter Godron
Honored Contributor

Re: speed on core lan interfase

Jannik,
what makes you suspect that it is not right ?
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=190793
Pete Randall
Outstanding Contributor
Solution

Re: speed on core lan interfase

I think the file you need to change is /etc/rc.config.d/hpigelanconf, not /etc/rc.config.d/hpgelanconf. The recommendation I have heard, however, is to let these gigabit cards auto-negotiate, so I would set it to auto, rather than 100FD.


Pete

Pete
Yang Qin_1
Honored Contributor

Re: speed on core lan interfase

check current speed setting:
lanadmin -s 0 (1,2,3)
check driver specific options:
lanadmin -x 0 (1,2,3)

Set driver specific options:
lanadmin -X 0 (1,2,3) 100FD

Yes, you need "0x"
Jannik
Honored Contributor

Re: speed on core lan interfase

thanks.

Peter - that would be for 11i I'm runing 11.23 but it was some good reading... And I should have supplied the OS lvl.
Pete - I think you are right I would have to change hpigelanconf.
Yang - You are right in the online sense.
jaton
rick jones
Honored Contributor

Re: speed on core lan interfase

Given that the Gigabit NICs "do the right things" wrt autonegotiation and autosense, unless you happen to have hard-coded your switch port (IMO not a good thing to be doing these days) there should have been no need to hardcode anything on the HP-UX side.
there is no rest for the wicked yet the virtuous have no pillows