HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

lanadmin

 
SOLVED
Go to solution
navin
Super Advisor

lanadmin

Hi,
I have a hpux server running 11.23.
How can use lanadmin to check if my box is running 1000 full duplex of network settings
thanks
Learning ...
11 REPLIES
Tingli
Esteemed Contributor
Solution

Re: lanadmin

# lanadmin -x ppa

ppa is the lan number.
navin
Super Advisor

Re: lanadmin

Thank you .How to use lanadmin to setup autoneg or harcode the network speed setting.
Much appreciated.
Learning ...
Patrick Wallek
Honored Contributor

Re: lanadmin

Have you checked the lanadmin man page?
Ganesan R
Honored Contributor

Re: lanadmin

Hi,

You cannot hardcode the network settings. Use SAM to set and change the speed and autoneg settings.
Best wishes,

Ganesh.
Steven E. Protter
Exalted Contributor

Re: lanadmin

Shalom,

lanscan to get the lan number

You can use awk to parse the output and pipes to get it into the next step which is:

lanadmin -x lanX

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
rick jones
Honored Contributor

Re: lanadmin

It should not be necessary to hardcode the speed or duplex settings of a Gigabit Ethernet NIC in an HP-UX 11.23 system. They should comply fully with the requirements of autoneg.
there is no rest for the wicked yet the virtuous have no pillows
Viktor Balogh
Honored Contributor

Re: lanadmin

first, do an

#ioscan -fnC lan

and from it's output get the driver for the card (e.g. iether)

then you should manually edit the /etc/rc.config.d/hpietherconf file to hardcode the card's settings for the next reboot.
(if it uses another driver then look for a hpconf file!)

btw, the good'ol SAM edit these config files too

****
Unix operates with beer.
Viktor Balogh
Honored Contributor

Re: lanadmin

and oohh, there is no 1000FD option, if you've got a 1Gbit switch just set all to autonegotiation! ;)
****
Unix operates with beer.
Jeff Schussele
Honored Contributor

Re: lanadmin

Rick & Viktor are correct.
But I'd throw in this caveat.
IF the port is a 10/100/1000 RJ-45 device then the switch connection calls the shots.
What you'll get is what the switch port is - either 10, 100 or 1000 AND full or half duplex does come into to play if the switch port is 10 or 100 and hard set to full or half duplex. If it's 1000 then you must let it auto-negotiate. That's a hard & fast rule for Gigabit.
IF the port is fibre channel Ethernet then there will no question what speed it'll be. It can & will be nothing BUT 1000FD.

My 2 cents,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
rick jones
Honored Contributor

Re: lanadmin

Any 10/100/1000 capable device very well aught to be able to autonegotiate correctly, NIC or switchport. The only reason it would be hardcoded would be clinging to ancient folklore. Some ancient 10/100 only kit might not but that is old enough to warrant replacement today anyway :) So I'll point folks at http://www.hp.com/go/procurve to fix that issue :)

Minor nit - it would be "fibre Ethernet" not fibre channel Ethernet :)
there is no rest for the wicked yet the virtuous have no pillows
Jeff Schussele
Honored Contributor

Re: lanadmin

Hi Rick,

Nit accepted.
I will defer to the master.
I think my fingers are hard coded to follow fibre with channel ;~))

Cheers,
Jeff

PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!