1753659 Members
5956 Online
108798 Solutions
New Discussion юеВ

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 11
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!