Operating System - HP-UX
1832413 Members
3016 Online
110042 Solutions
New Discussion

setting full duplex permanently.

 
ankurp
Frequent Advisor

setting full duplex permanently.

Hi friends,
Need help to setup full duplex on lan interface.
We are using Auto port aggregation.
And LAn card type is btlan.
PLs. help.

rgds
Ankur
8 REPLIES 8
saju_2
Respected Contributor

Re: setting full duplex permanently.

Hi ankur

U can change to full duplex thorugh lanadmin

Find out the ppa number of ur card by lanscan command.

The NMID filed in lanscan output is the ppa number for ur lancard.

To change to 1000Mbps Full duplex use

lanadmin -X 1000FD

It doesn't require a reboot and u can check the current status through sam also.
sam -->networking and communication -->network interface cards-->selct the card and check the configuration.

Regards
CS
James R. Ferguson
Acclaimed Contributor

Re: setting full duplex permanently.

Hi:

You will need to set HP_HP_BASET_SPEED[n]=100FD for the entry matching your HP_BASET_INTERFACE_NAME[n].

The choice of the for '/etc/rc.config.d/' is dependent on the driver you have:

btlan0 = hpeisabtconf
btlan = hpbtlanconf
btlan1 = hpbasetconf
btlan3 = hpbase100conf
btlan4 = hpgsc100conf
btlan5 = hppci100conf
btlan6 = hpsppci100conf
intl100 = hpintl100conf

You can deduce the driver from:

# ioscan -kfC lan

Regards!

...JRF...
ankurp
Frequent Advisor

Re: setting full duplex permanently.

Very thanks ur reply.
pls. do consider we r using Auto port aggregation.

Rgds
Ankur
Fabio Ettore
Honored Contributor

Re: setting full duplex permanently.

Hi Ankur,

I think it is a setting at the lan card level and not about the product APA. So suggestions should be all the best.

Also check the following thread where I and other guys replied about how to change the lan card sepeed:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=957816

As usual please don't forget to assign points if people helps you.

Thanks and best regards,
Fabio

WISH? IMPROVEMENT!
Victor Fridyev
Honored Contributor

Re: setting full duplex permanently.

Hi,

First of all, you have the same settings for lan and its switch port, i.e. if the port is set up as 100HD, the lan should be set up 100HD etc. If you want to have the best performance, the setup must be 100FD.
I think, that the best way to setup the lan is to use SAM.
Please do that either from the computer console or from connection via other lan.

HTH
Entities are not to be multiplied beyond necessity - RTFM
Frank de Vries
Respected Contributor

Re: setting full duplex permanently.

I think this is what you want:

[root@orasrv2:]/etc/rc.config.d<>>> more hpbase100conf
[root@orasrv2:]/etc/rc.config.d<>>> more hpbase100conf
############################################## @(#) hpbase100conf $Revision: 1.4 $ $Date: 99/07/14 13:35:13 $
# hpbase100conf : contains configuration values for HP 100Mb interfaces
#
# HP_BASE100_INTERFACE_NAME Name of interface (lan0, lan1...)
# HP_BASE100_STATION_ADDRESS Station address of interface
# configured through lanadmin(1m)
# Prefixed with "0x".
# HP_BASE100_SPEED Manually set the driver's speed. Can be
# one of: 10HD, 10FD, 100HD, 100FD, auto_on
#
# The interface name, major number, card instance and nmid|ppa may be
# obtained from the lanscan(1m) command.
#
# The station address and speed are set through the lanadmin(1m)
# command.
#
#####################################################################

HP_BASE100_INTERFACE_NAME[0]=lan0
HP_BASE100_STATION_ADDRESS[0]=0x00306E09000C
HP_BASE100_SPEED[0]=100FD

###########################################################################
# The HP_BASE100_INIT_ARGS are reserved by HP. They are NOT user changable.

HP_BASE100_INIT_ARGS="HP_BASE100_STATION_ADDRESS HP_BASE100_SPEED"

# End of hpbase100conf configuration file
Look before you leap
Borislav Perkov
Respected Contributor

Re: setting full duplex permanently.

Hi Ankur,
Consider that configuration also depend of the switch port where the lan card is connected to, it must be configured to full duplex mode also.
Regards,
Borislav
Betty Fessler
Frequent Advisor

Re: setting full duplex permanently.

I think its worth noting that some early btlan cards were not capable of running FULL duplex even though they were capable of running at 100HD. At 100HD I have found that the errors, collisions and such happen too fast for the switch/router to handle and it shuts the drop down temporarily causing backups and such to fail. If your card is only capable of 100HD its better to leave it at 10HD and avoid that problem. If its running at 100FD now, you can configure at the prom level by interrupting the boot and going into CO LC "configure Lanconf" and from there type help and choose your setting, and then reboot again to pick it up
You should also configure the /etc/rc.config.d lan file for your OS level, ie 11.11 is usually hpbtlanconf. with the settings. And the previous reply was correct if you set the system you must set the switch to the same, usually requires a passwd to log into the switch. Else you can
end up with what we call a network mode mismatch resulting in a system running slower then the old 10HD would have. also evidenced by lots of runts and giant showing up on the switch when monitored.