Operating System - HP-UX
1832658 Members
3219 Online
110043 Solutions
New Discussion

changing the speed on my backup network

 
Jeffrey Shannon
Contributor

changing the speed on my backup network

I'm trying to change the speed on my backup network using the command:

lanadmin -S 100000000 1

and the following is returned:

Old Speed = 100
Unable to change speed: errno = 22

Help! Jeff
6 REPLIES 6
fg_1
Trusted Contributor

Re: changing the speed on my backup network

Jeffrey

Try doing it this way.

Lanscan: get ppa/nmid # for the interface.

Lanadmin -X 100FD 1

This will set the speed 100MB and the duplex to full for card instance 1.

Replace the 1 with the ppa/nmid # from the lanscan output.

Good luck

Patrick Wallek
Honored Contributor

Re: changing the speed on my backup network

What are you trying to change the speed to? It is apparently already set at 100 Mbit.

If you are trying to change the duplex setting, see the reply above.

Otherwise, more information is needed.
Ron Kinner
Honored Contributor

Re: changing the speed on my backup network

I trust you are root when you do this.

What does
lanadmin -s 1
say?

Have you tried disconnecting the cat 5 cable, then running the command? Might be the switch is set to a particular speed and it doesn't want to change.

Ron
Sanjay_6
Honored Contributor

Re: changing the speed on my backup network

Hi Jeff,

you the lanscan command to find out the ppa / NM_ID for the port you want to configure and use it with the lanadmin command to modify the lan port parameters. These changes are temporary and will be resetted on reboot. To make the change permanent edit and modify the appropriate configuration files in /etc/rc.config.d. Do a "man lanadmin" for more info on lanadmin command and the options associated with the command.

Hope this helps.

Regds
Darrell Allen
Honored Contributor

Re: changing the speed on my backup network

Hi Jeff,

I too prefer to set the speed and duplex with lanadmin -X spd_duplex ppa#, ie:
lanadmin -X 100FD 1
You can see the current setting with lanadmin -x ppa#.

Don't forget to set the duplex as well as the speed. Particularly for 100Mb, you can get serious throughput issues if the duplex setting is a mismatch between the server and the switch. If forcing the speed / duplex on the server, you need to force it on the switch as well.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
harry d brown jr
Honored Contributor

Re: changing the speed on my backup network

Jeff, if you change the duplex to full from half, it will be slower, but at least it will reduce errors. Is this what you want?


live free or die
harry
Live Free or Die