1836598 Members
2326 Online
110102 Solutions
New Discussion

Re: NIC SPEED

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

NIC SPEED

I have a 10/100 lan card in a K570 that appears to be running @ 10bm. I am sure that the switch is set for auto negotiate. If lanadmin says 10bm, am I running at 10mb even though the switch is set to auto? What command do I use to change the speed from 10 to 100?
UNIX IS GOOD
4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: NIC SPEED

1) Run lanscan to get the NMID or PPA of your desired port/card.

2) lanadmin -S speed PPA

Man lanscan, lanadmin for details.

You really do not want the switch port set to auto-negotiate; that's one of those things that almost works well - the worst kind of problem to have. Hard set the speed/duplex on both ends.
If it ain't broke, I can fix that.
Jeff Schussele
Honored Contributor

Re: NIC SPEED

Hi Robert,

Use lanadmin as follows

lanadmin -X Y 100FD

Where Y = the lan instance - 0 for lan0, 1 for lan1, etc.
have the network team lock the port at 100 & NO auto-negotiate.
Then I'd recommend you determine just which /etc/rc.config.d/&&&conf file to edit to lock it down on the server.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Sridhar Bhaskarla
Honored Contributor

Re: NIC SPEED

Hi Robert,

I saw your other posting. SAM does not do an excellent job related to NIC settings. So, I would not suggest using SAM for this task.

Most of the times HP will set it's speed to 100 HalfDuplex if the switch is set to Auto negotiatiate.

The command to find the speed is

lanadmin -x i

i is the lan card instance number. For ex., 0 is the instance number for lan0 on 11.x. However, on 10.20, it is the nmid and you have to do a lanscan to find the corresponding nmid.

To set the speed of the NIC to auto-negotiation, you would do

lanadmin -X AUTO_ON i

Here the lancard will negotiate with the switch port and set it's speed.

However, HP does not seem to work well with Autonegotiation. It is recommended to set yout switch to 100 Auto Off and then set your NIC to 100 Auto off. In this case, you would use the command

lanadmin -X 100FD i

To survive this setting on reboots, you would need to modify /etc/rc.config.d/hpXXX100conf. XXX is the type of the card. For Gsc, it would be hpgsc100conf. It also contains example entries and you can use
them.

Changing the speed will break the network for 11 secs.


-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Uday_S_Ankolekar
Honored Contributor

Re: NIC SPEED

Lanscan should give you nmid number/PPA number
To change the speed use
lanadmin -X 100FD nmid number

But this is temporary. You need to change in /etc/rc/config.d/hpbase100conf.
Example:

in hpbase100conf configuration file
HP_BASE100_INTERFACE_NAME[1]=lan0
HP_BASE100_STATION_ADDRESS[1]=
HP_BASE100_SPEED[1]=100FD

-USA..
Good Luck..