Operating System - HP-UX
1832938 Members
2492 Online
110048 Solutions
New Discussion

How to tell if NIC is running at 10 Base T or 100 Base T

 
SOLVED
Go to solution
Debbie Fleith
Regular Advisor

How to tell if NIC is running at 10 Base T or 100 Base T

I know there is some command I could run to show the current stats of a NIC card. Anyone recall what that is?

We have experienced some network degredation and suspect our old HP server is possible the culprit.
9 REPLIES 9
Pete Randall
Outstanding Contributor

Re: How to tell if NIC is running at 10 Base T or 100 Base T

lanadmin -x 0, where 0 is the PPA number, derived from lanscan.


Pete

Pete
melvyn burnard
Honored Contributor

Re: How to tell if NIC is running at 10 Base T or 100 Base T

you can use the lanadmin command to get this information.
man lanadmin
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Pete Randall
Outstanding Contributor
Solution

Re: How to tell if NIC is running at 10 Base T or 100 Base T

Sorry, lanscan refers to it as instance, not PPA number.


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: How to tell if NIC is running at 10 Base T or 100 Base T

Hi Debbie:

With the old 100MB Base T cards, using auto-negotiation was virtually guaranteed to lead to problems at some time.

Configure your card to 100MB full duplex and set your network switch to the same.

Regards!

...JRF...
Torsten.
Acclaimed Contributor

Re: How to tell if NIC is running at 10 Base T or 100 Base T

Hi,

run

# lanscan

to find all your LAN cards. In the output you'll find a column "CrdIn#". Use this value with lanadmin, e.g.

# lanadmin -x 0

and you will get this:

Current Speed = 100 Full-Duplex Auto-Negotiation-ON

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Rick Garland
Honored Contributor

Re: How to tell if NIC is running at 10 Base T or 100 Base T

Use the 'lanscan' command to get the ID of the NIC

Run the lanadmin command with the values obtained.

Example: '# lanadmin lan1'


Doug O'Leary
Honored Contributor

Re: How to tell if NIC is running at 10 Base T or 100 Base T

You can also use the attached script...

HTH;

Doug

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
Nguyen Anh Tien
Honored Contributor

Re: How to tell if NIC is running at 10 Base T or 100 Base T


1, Determine LAN ID by
# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/0/0 0x00306E2C808B 0 UP lan0 snap0 1 ETHER Yes 119
0/2/0/0 0x00306E370901 1 UP lan1 snap1 2 ETHER Yes 119
2, Then
# lanadmin lan1



LOCAL AREA NETWORK ONLINE ADMINISTRATION, Version 1.0
Sat, Feb 18,2006 16:35:16

Copyright 1994 Hewlett Packard Company.
All rights are reserved.

Test Selection mode.

lan = LAN Interface Administration
menu = Display this menu
quit = Terminate the Administration
terse = Do not display command menu
verbose = Display command menu

Enter command: lan

LAN Interface test mode. LAN Interface PPA Number = 0

clear = Clear statistics registers
display = Display LAN Interface status and statistics registers
end = End LAN Interface Administration, return to Test Selection
menu = Display this menu
ppa = PPA Number of the LAN Interface
quit = Terminate the Administration, return to shell
reset = Reset LAN Interface to execute its selftest
specific = Go to Driver specific menu

Enter command: display

LAN INTERFACE STATUS DISPLAY
Sat, Feb 18,2006 16:36:00

PPA Number = 0
Description = lan0 HP PCI 10/100Base-TX Core [10BASE-T,HD,AU
TO,TT=1500]
Type (value) = ethernet-csmacd(6)
MTU Size = 1500
Speed = 10000000
Station Address = 0x306e2c808b
Administration Status (value) = up(1)
Operation Status (value) = up(1)
Last Change = 2113327
Inbound Octets = 9018258
Inbound Unicast Packets = 8045
Inbound Non-Unicast Packets = 118442
Inbound Discards = 0
Inbound Errors = 0
Inbound Unknown Protocols = 43
Outbound Octets = 1882867
Outbound Unicast Packets = 8282
Outbound Non-Unicast Packets = 88
Outbound Discards = 0
Outbound Errors = 0
Outbound Queue Length = 0
Specific = 655367

Press to continue
HP is simple
Dan Kranning
New Member

Re: How to tell if NIC is running at 10 Base T or 100 Base T

Just do a lanscan, find the NM ID and run
lanadmin -s NM ID

root@myserver>/dp # lanscan

root@myserver>/dp # lanadmin -s 1
Speed = 100000000

root@myserver>/dp # lanadmin -s 2
Speed = 10000000