Operating System - HP-UX
1830215 Members
1592 Online
109999 Solutions
New Discussion

Re: warning message when using lanadmin

 
SOLVED
Go to solution

warning message when using lanadmin

Hi,

I'm getting the following warning whenever I use the lanadmin command to set the speed and duplex of 1000-T card.

# lanadmin -X 100FD 0
WARNING: The link settings you have specified for this card must match the settings of its link partner.

What is the link partner? The port on the switch matches the NIC, is there something else I'm missing?

It does set the speed, but it's not surviving a reboot. I've checked in /etc/rc.config.d/hpgeconf which is the file for the nic card settings. They are right.

Thanks in advance for any and all help here.

12 REPLIES 12
Pete Randall
Outstanding Contributor

Re: warning message when using lanadmin

I've never seen that warning before but I think it's a wonderful idea. It's telling you that if you're setting the card 100 full duplex, the port on the switch or router it's connected to must also be set to 100 full duplex. Duplex mismatches cause performance issues and should be avoided.

Pete

Pete
Pete Randall
Outstanding Contributor

Re: warning message when using lanadmin

For the second part of your question, I suspect you need to use a different config file. Match your driver to your config file from this list

btlan hpbtlanconf
btlan0 hpeisabtconf
btlan1 hpbasetconf
btlan3 phbase100conf
btlan4 hpgsc100conf
btlan5 hppci100conf
btlan6 hpsppci100conf

Hope this helps,

Pete

Pete
Uday_S_Ankolekar
Honored Contributor

Re: warning message when using lanadmin

Link partner should be next connecting device. Check the speed setting on the switch port where your server is connected. Check things like duplex settings, auto-negotiation etc. Both should match.

-USA..
Good Luck..

Re: warning message when using lanadmin

Ahh...so I'm just destined to get the warning no matter what, even if the switches port matches the speed settings. Okay, I can live with that.

Typo (actually memory) error on conf file... it was

/etc/rc.config.d/hpgelanconf

That is the file that matches my driver.

Re: warning message when using lanadmin

Meant to add...

The driver as presented in an "ioscan -fnC lan" command is called "gelan".
Ken Hubnik_2
Honored Contributor

Re: warning message when using lanadmin

Then this is the filename
hpgelanconf

Re: warning message when using lanadmin

Correct. My problem left now is, though the file has the correct settings in it...100fd and Auto Negotiation is disabled, it's still not surviving a reboot, and I have to manually issue another "lanadmin -X 100FD 0" command to get it to take after a reboot.

The only other oddity I can report about it is that if I try to use SAM, it will let you change the settings, but after saving and exiting and reentering SAM it will show the old settings (10hd Auto neg = on).

Ken Hubnik_2
Honored Contributor

Re: warning message when using lanadmin

There was a thread yesterday with someone having the exact same problem but I never saw a resolution. Try calling HP. I wonder if it doesn't like the fact the it's a 1000-T card trying to run at 100FD. Is the switch port 1000 or 100 ??
Sridhar Bhaskarla
Honored Contributor

Re: warning message when using lanadmin

Hi,

You will need to modify hpgelanconf to hardcode the parameters for 100 Full Duplex to survive reboots.

Though I have not seen this error message, I guess it is perfectly understandable for a 1000-Bt card
to complain about the non-default setting.

Yes, make sure your switch is also set to 100 Full Duplex.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Pete Randall
Outstanding Contributor
Solution

Re: warning message when using lanadmin

Ronald,

I saw that same thread that Ken mentioned and I've been searching and searching for it. I finally found it:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xa0cb50dde50cd71190050090279cd0f9,00.html

Take a look at the last two responses from Greg Gyer. Sure sounds like your problem - AND your answer!!


Pette

Pete
Pete Randall
Outstanding Contributor

Re: warning message when using lanadmin

Make that Pete - I have no idea who the hell Pette is.

Must be time to go home.

Pete

Re: warning message when using lanadmin

Just getting back into the swing of visiting this forum now.

To catch up, the other thread mentioned is the exact problem I have. I'm on 11.11 with an rp8400 and using a 1000T card which I wan't set at 100FD for now, because we don't have our gig backbone ready yet.

I'll look into installing patch PHNE_26939.

Thanks all!