1844204 Members
2079 Online
110229 Solutions
New Discussion

Setting fullduplex

 
Jim Kriegel
Advisor

Setting fullduplex

Hi,
We have a Gig ethercard in a k570. We've found thru physical testing that the card is probably halfduplex. Is their a way to find out what mode the card is in? I've tried lanadmin, but it only shows the description of the card. On our 10/100 card the description is Fullduplex. I know I can use lanconfig to set fullduplex, but will it interupt service on the line. I would assume not, but you know, assume...

Thanks,
9 REPLIES 9
Andreas Voss
Honored Contributor

Re: Setting fullduplex

Hi,

try:
lanadmin -x
You can get NMID by using the command:
lanscan

Regards

Andrew
Andreas Voss
Honored Contributor

Re: Setting fullduplex

To set mode use:
lanadmin -X (10HD|10FD|100HD|100FD)

to set permanently the duplex/speed mode you have to edit a file in /etc/rc.config.d
hpbasetconf
or
hpgsc100conf
or
hpbase100conf
or
hppci100conf
The choice of the file depends on the LAN interface card type.
Within this file edit the line:
HP_BASE_100_SPEED[0]=
or
HP_BASET_SPEED[0]=
or
HP_GSC100_SPEED[0]=
or
HP_PCI100_SPEED[0]=

Regards



Jim Kriegel
Advisor

Re: Setting fullduplex

Thanks, but: (5 is our GigE card)
# lanadmin -x 5
Error: This option is not supported for this hardware.
Rick Garland
Honored Contributor

Re: Setting fullduplex

Patches are required for the lanadmin command to function without the "option not supported" message. The patches required depend on the driver in use. I am not sure what the driver is for the GIG card.

Once patches are installed, you should be able to issue the lanadmin -x and have the duplex setting change.
Jim Kriegel
Advisor

Re: Setting fullduplex

We've patched up (NFS and GIG) as of two weeks ago per HP's list of patches.
Rick Garland
Honored Contributor

Re: Setting fullduplex

What driver do you have for the card?

Do the ioscan -fnClan to see the driver
Jim Kriegel
Advisor

Re: Setting fullduplex

ioscan output: gelan

BTW HP support says the card is full duplex only. So I'll be looking at the other side. Still doesn't explain why on our Intel gig switch removing one fiber connection doesn't effect the connection. Maybe the Intel does redundancy (but wouldn't the HP need to be setup for that or does flowcontrol do that).

Thanks, I'll be talking to Netapp now.
Insu Kim
Honored Contributor

Re: Setting fullduplex

Please update a few lines /etc/rc.config.d/hpgsc100conf as follows.

HP_BASET_INTERFACE_NAME[ ]=lanX
HP_BASET_STATION_ADDRESS[ ]=Mac Address startng with 0x.
HP_BASET_DUPLEX[ ]=FULL

Setting Full duplex with lanadmin will not take effect after reboot.

Best regards.

Never say "no" first.
Dave Wherry
Esteemed Contributor

Re: Setting fullduplex

About the last reply, I also have a gigabit card on my V2500 and I do not have a hpgsc100conf file.
I do have a hpgelanconf file which is set to all defaults - meaning there are no entries after the "=" on any of the parameter lines. It's just running vanila out of the box and I believe it is running full duplex. It's hard to tell as it is my only gigabit card so it will only run as fast as the 100 megabit cards it talks to.
If you really think it is a duplex issue I would look at the settings on your router/hub port. We've had problems with our Cisco wanting to autonegotiate and not playing well with our HP's unless we pinned the ports on the Cisco.