Operating System - HP-UX
1833589 Members
5002 Online
110061 Solutions
New Discussion

Re: network speed in a model K380 and D370

 

network speed in a model K380 and D370

Hi all,
I'm working with two old models, D370 and K380. I think in these models, the default network speed is 10HD Half, but I'd like to increase it.
Is there anyone who knows how to increase it by command line?

Thanks in advance
6 REPLIES 6
Peter Godron
Honored Contributor

Re: network speed in a model K380 and D370

Hi,
some of this may help:
http://aa11.cjb.net/sun_managers/2000/07/msg00503.html

#turn off autonegotiation
ndd -set /dev/hme adv_autoneg_cap 0

#enable 100 full duplex
ndd -set /dev/hme adv_100fdx_cap 1


ndd -get /dev/hme link_mode
link_mode
0=half duplex
1=full duplex

ndd -get /dev/hme link_speed
link_speed
0=10BT
1=100BT

ndd -get /dev/hme link_status
link_status
0=down
1=up

Regards
Andrew Rutter
Honored Contributor

Re: network speed in a model K380 and D370

hi

The d's and k's only have 10mb lan ports by default on the core io board.
Do you have optional lan cards in the system?
If not then you cannot increase past 10mb

Andy
John Waller
Esteemed Contributor

Re: network speed in a model K380 and D370

As well as ndd there is also a lanadmin command which can be used to modify your network card configuration from the command line.
HGN
Honored Contributor

Re: network speed in a model K380 and D370

Hi

Since these are HP servers the following steps can be done

1.Need to make sure that the card supports 100Mbps
2.Need to co-ordinate with the network team and move the cable to 100Mbps port
3.Once everything is taken care
assuming the lan card id is 1
# lanadmin -X 100FD 1

Don't forget to make the corresponding changes on the file in /etc/rc.config.d

Rgds

HGN
A. Clay Stephenson
Acclaimed Contributor

Re: network speed in a model K380 and D370

If these are the built-in ports then there is no configuration. 10MB/s is hard set.

If you have other NIC's on these machines then you have other options but you need to identify the card(s) and the OS for a complete answer.

In all cases, the answer to your question is the lanadmin command with the -S option to set speed and the -X option to set duplex but these options may or may not be available depending upon your card/OS Release/Patches.

Man lanadmin for details.

If it ain't broke, I can fix that.
Patrick Wallek
Honored Contributor

Re: network speed in a model K380 and D370

As said, the built-in lan port on both of these models is 10 Mbit half-duplex only.

For the K-box you can purchase either an HP-PB or an HSC 100Mb card if you have available slots.

For the D-box you can get an EISA 100Mb card, but it will ONLY work with 32-bit HP-UX (64-bit HP-UX has NO EISA card support). Some cards also only support 100Mb HALF-DUPLEX, so be aware of what you buy.