Operating System - HP-UX
1833704 Members
3174 Online
110062 Solutions
New Discussion

Changing Auto Neg Parameter thru SAM

 
SOLVED
Go to solution
Sudeep Singh
New Member

Changing Auto Neg Parameter thru SAM

Hi Guys
I have to change the Auto Negotiate parameter and the speed of the Network Interface Card which is in state enabled. I am not able to do thru SAM as these parameters are not highlighted . What can be the other way to do this ?
5 REPLIES 5
Sridhar Bhaskarla
Honored Contributor
Solution

Re: Changing Auto Neg Parameter thru SAM

Hi Sandeep,

Use lanadmin command.

lanadmin -x 0

gives the speed of lan0.

lanadmin -X 100FD 0


will set the speed of lan0 to 100 Full Duplex Auto negotiation off. This is the recommended speed if you have 100 speed card.

The above is for 11.0 and above. For 10.20, you will need to find the nmid of the lancard. 'lanscan' can give you nmid corresponding to your lan device.

You also need to modify the corresponding file under /etc/rc.config.d/hp(type)conf. You will need to add the entries so that they will survive the reboot. type is dependent on the type of card you have. For gsc card, it will be /etc/rc.config.d/hpgsc100conf.


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

Re: Changing Auto Neg Parameter thru SAM

Yep, that's how you do it.
Support Fatherhood - Stop Family Law
Steven E. Protter
Exalted Contributor

Re: Changing Auto Neg Parameter thru SAM

Warning: Using a Cisco switch? Hard code the switch to the max speed of your NIC. Hard code the speed of the card here.

/etc/rc.config.d/hpbtlan

There are widely reported problems with auto negotiate on cisco switches and many HP-UX systems NIC cards.

I'm working on publishing an itrc paper on how it helped make an Ignite call last 4 weeks.

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
Sudeep Singh
New Member

Re: Changing Auto Neg Parameter thru SAM

Thanks Guys . I have been able to change it using lanadmin. cheers !!
Rajeev  Shukla
Honored Contributor

Re: Changing Auto Neg Parameter thru SAM

Hi Sudeep,
But remember though you have changed using lanadmin command this change will not be permanent unless you change in the file inside /etc/rc.config.d/hppci100conf or the related file depending what type of card you have. Other wise when next time you reboot your server the lan card will be set to previous settings.

Rajeev