1833699 Members
3102 Online
110062 Solutions
New Discussion

Re: lanadmin -X

 
SOLVED
Go to solution

lanadmin -X

I need to clarify a doubt regarding the lanadmin command.
There is a HSC 100 base T Single port lan adapter attached to a D-Class server with HP-UX 10.20 installed.Currently this adapter is running at 10Mbps and half duplex mode.
I want to change this to 100Mbps and to full duplex mode.
I know this is possible with lanadmin command, but I want to know whether system required a reboot after the change these modes.
Because this system is online system and need to be keep on minimum downtime.
Thanks
Nuwa
To get out of a difficulty, one usually must go through it
6 REPLIES 6
Patrick Wallek
Honored Contributor

Re: lanadmin -X

No, you do not need to reboot after doing the 'lanadmin -X' command. Actually a reboot is the last thing you want to do as it would UNDO your changes.

To make sure that your change is permanent you also need to change the mode for this card in your /etc/rc.config.d/netconf file.
Sridhar Bhaskarla
Honored Contributor
Solution

Re: lanadmin -X

Hi,

You can change the speed online. But it will take 11 secs for the system to set the speed. So, your system will be out of network for this time. If it is part of serviceguard, it may be more than enough for serviceguard to switch lan or failover the packages if you have not customized the cluster.ascii file.

To make it permanent edit /etc/rc.config.d/hpbtlanconf file and add the lancard and the speed in it. Follow the example syntax.

Make sure your swithch is also set to 100 Full Duplex with Auto Off. Use the following command on the server to set it to 100FD.

#lanadmin -X 100FD nmid

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

Re: lanadmin -X

Hi Nuwa,

No need for a reboot, change it online
lanadmin -X
permanent changes /etc/rc.config.d/netconf.

Kind regards,

Robert-Jan.

Patrick Wallek
Honored Contributor

Re: lanadmin -X

I'm sorry....Sridhar is correct... To make the speed change permanent you need to modify the appropriate config file for the card /etc/rc.config.d, NOT the netconf file.

MANOJ SRIVASTAVA
Honored Contributor

Re: lanadmin -X

Hi Nuwan


there is no need to reboot the system . How you do is like this :

1. Identify the LAN Interface using the lanscan command to know the interface.
2. Check for the speed set already using the Lanadmin command.
3. Use the command lanadmin ???X 100fd nmid or the ppa to change it to the desired one.
4. Check the setting using the lanadmin command again.



to make it permanent you need to change in /etc/rc.config.d/hpbase100conf



Manoj Srivastava
Bill Hassell
Honored Contributor

Re: lanadmin -X

Just a note: there were some 100BaseT LAN cards that were not capable of full-duplex. If you use lanadmin -X to set the value, check to see that there is no error message. Then followup with lanadmin -x (lowercase) to read the results, or run lanadmin interactively and display the stats. The first lines will show the current settings.


Bill Hassell, sysadmin