Operating System - HP-UX
1833300 Members
3109 Online
110051 Solutions
New Discussion

Re: How to tell if auto neg is on/off?

 
SOLVED
Go to solution
Unix Team
Advisor

How to tell if auto neg is on/off?

I have r380 with hP-UX 10.20 with builtin lan. I know it is 10Base-T. How do I tell what speed and Duplex it is running? lanadmin tells me the speed is 10, but I can't seem to find anything else by using SAM, or looking at config files.

Thanks,
--Craig
11 REPLIES 11
Dave Hutton
Honored Contributor
Solution

Re: How to tell if auto neg is on/off?

You can use:
# lanadmin -x 4
Current Speed = 100 Full-Duplex Auto-Negotiation-OFF

(4) is the network management ID. Or what I guess the new OS's called PPA number.

Florian Heigl (new acc)
Honored Contributor

Re: How to tell if auto neg is on/off?

Hi Craig,

use the command lanadmin -x 0 if the card has LMID 0 (check this in lanscan output) -
I'm afraid most 10BT cards only supported half-duplex, You will note this, if lanadmin tells You something about the 'command not being supported on this hardware'


flo
yesterday I stood at the edge. Today I'm one step ahead.
Unix Team
Advisor

Re: How to tell if auto neg is on/off?

Thanks for the replies, lanadmin -x returns the following: Error: This option is not supported for this hardware.

That being the case, I'll assume it's half duplex.

thx, --Craig
Unix Team
Advisor

Re: How to tell if auto neg is on/off?

I meant lanadmin -x 4 (which is the NMID) returns the error.
Jeff Schussele
Honored Contributor

Re: How to tell if auto neg is on/off?

Craig,

lanadmin did *not* support -x in 10.2
Why don't you go into the interactive menu with *just*
lanadmin
Else you can try
lanadmin -s NMID
but I can't remember IF it gave more than just the speed.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Jeff Schussele
Honored Contributor

Re: How to tell if auto neg is on/off?

Oh & remember that NMID may *not* match the PPA
By that I mean that lan2 may be NMID 4 - so check that lanscan output carefully.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Dave Hutton
Honored Contributor

Re: How to tell if auto neg is on/off?

Odd. That output I pasted was from a 10.20 server (That I'm sure hasn't been patched for ages, even prior to being EOL).
Jeff Schussele
Honored Contributor

Re: How to tell if auto neg is on/off?

Hi Dave,

Yes that is.
I was looking at the 10.2 lanadmin man page on docs.hp.com - here:

https://support.hpe.com/

But the search results page doesn't give a date - just a part number for the manual - B2355-90129

My guess is there came a patch at some point that added the functionality & Craig hasn't applied it yet.

Cheers,
Jeff

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

Re: How to tell if auto neg is on/off?

Thanks to all. This is an old system with the only patching being the General Release from Sept 2001.

I just logged into for the first time today as I learned we need to move it to another site this weekend. Checking to make sure we have the network switch configured properly at the new location.

As you can see the NMID is 4.

LAN INTERFACE STATUS DISPLAY
Thu, Feb 17,2005 03:00:29

Network Management ID = 4
Description = lan0 Hewlett-Packard LAN Interface Hw Rev 0
Type (value) = ethernet-csmacd(6)
MTU Size = 1500
Speed = 10000000
Station Address = 0x8000904eda7
Administration Status (value) = up(1)
Operation Status (value) = up(1)
Last Change = 1209120543
Inbound Octets = 2102755722
Inbound Unicast Packets = 80882317
Inbound Non-Unicast Packets = 351430134
Inbound Discards = 0
Inbound Errors = 4
Inbound Unknown Protocols = 150600472
Outbound Octets = 1557721879
Outbound Unicast Packets = 163529402
Outbound Non-Unicast Packets = 7157
Outbound Discards = 0
Outbound Errors = 0
Outbound Queue Length = 23
Specific = 655367

Press to continue


Ethernet-like Statistics Group

Index = 4
Alignment Errors = 0
FCS Errors = 0
Single Collision Frames = 14730146
Multiple Collision Frames = 10507203
Deferred Transmissions = 70353427
Late Collisions = 0
Excessive Collisions = 3135
Internal MAC Transmit Errors = 0
Carrier Sense Errors = 4
Frames Too Long = 0
Internal MAC Receive Errors = 0


LAN Interface test mode. LAN Interface Net Mgmt ID = 4

# lanadmin -s 4
Speed = 10000000

# lanadmin -x 4
Error: This option is not supported for this hardware.

Jeff Schussele
Honored Contributor

Re: How to tell if auto neg is on/off?

Hi Craig,

Looking at that lanadmin output one can almost definitively state you're running HD simply due to *all* the collisions. FD connections should have no or *very* little collisions simply due to their duplex design.
And also since you have the "older" lanadmin binary it will not support checking for, or setting of, auto-negotiation which implies it's "locked in" to 10HD - which is true of all older built-ins of that model & age.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Unix Team
Advisor

Re: How to tell if auto neg is on/off?

x