Operating System - HP-UX
1826440 Members
4187 Online
109692 Solutions
New Discussion

Re: determine speed of built in lan?

 
jim bidebo
Regular Advisor

determine speed of built in lan?

How do you determine if a built in lan card is 10Mbit or 100Mbit (10/100)?

# ioscan -fC lan
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
lan 0 8/16/6 lan2 CLAIMED INTERFACE Built-in LAN

i know it runs at 10Mbit atm...
9 REPLIES 9
eran maor
Honored Contributor

Re: determine speed of built in lan?

Hi

this is the command for finding out the speed of the lan .


# lanadmin -s NMID/PPA
This will return only the speed the card is running.

# lanadmin -x NMID/PPA
As long as you have the Lan Cumulative patch that gives you this
capability, it will return the speed/duplex that the card is
running.

# lanadmin -X 100FD NMID/PPA
This will change the speed of the lancard .

EXAMPLES:

# lanscan

Hardware Station Crd Hdw Net- Interface NM MAC HP-DLPI DLPI
Path Address In# State Name PPA ID Type Support Mjr#
----------------------------------------------------------------------
0/0/0/0 0x0060B0F56CA2 0 UP lan0 snap0 1 ETHER Yes 119

# lanadmin -x lan0
Current Speed = 10 Half-Duplex

# lanadmin
Enter command: lan
Enter command: display

LAN INTERFACE STATUS DISPLAY
Tue , Feb 1,2000 10:46:07

PPA Number = 0
Description = lan0 Hewlett-Packard 10/100
TX Half-Duplex Hw0
Type (value) = ethernet-csmacd(6)
MTU Size = 1500
Speed = 10
Station Address = 0x60bxxxxx2
Administration Status (value) = up(1)
Operation Status (value) = up(1)
Last Change = 607
Inbound Octets = 353890350
Inbound Unicast Packets = 116715
Inbound Non-Unicast Packets = 3912082
Inbound Discards = 0
Inbound Errors = 0
Inbound Unknown Protocols = 362232
Outbound Octets = 17410461
Outbound Unicast Packets = 150878
Outbound Non-Unicast Packets = 810
Outbound Discards = 0
Outbound Errors = 3
Outbound Queue Length = 0
Specific = 655367

Ethernet-like Statistics Group

Index = 1
Alignment Errors = 0
FCS Errors = 0
Single Collision Frames = 1
Multiple Collision Frames = 2
Deferred Transmissions = 1413
Late Collisions = 0
Excessive Collisions = 3
Internal MAC Transmit Errors = 0
Carrier Sense Errors = 0
Frames Too Long = 0
Internal MAC Receive Errors = 0

LAN Interface test mode. LAN Interface PPA Number = 0
love computers
melvyn burnard
Honored Contributor

Re: determine speed of built in lan?

Which OS version, and what model HP is it?
lanadmin is probably the best:
type:
lanadmin
choose lan
if the core lan card is the selected, chosse display and you should see something like:

Description= lan0 Hewlett-Packard 10/100 TX Half-Duplex

or for my internal lan:

Description= lan1 Hewlett-Packard LAN Interface Hw Rev 0


My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
eran maor
Honored Contributor

Re: determine speed of built in lan?

Hi melvyn

the command lanadmin -x is not a prefer method to use ?

i know that this command is working also in 10.20 and 11.00 .

can you please reply
love computers
harry d brown jr
Honored Contributor

Re: determine speed of built in lan?

The quickest way is to run "lanadmin". Execute the command "lanadmin", select "lan", then select "display". Beside the heading "Description" is the speed of the card. But the actual speed it is running at is listed beside "speed".

If you have more than one network interface you should run lanscan first. Note the number under the column "NM/ID". For each interface, in lanadmin, you can select each card by entering in "nmid" in the "lan" area.

ie:

lanscan:

# /usr/sbin/lanscan
Hardware Station Crd Hardware Net-Interface NM MAC HP DLPI Mjr
Path Address In# State NameUnit State ID Type Support Num
10/8/2/0 0x0010830475E8 2 UP lan2 DOWN 4 ETHER Yes 119
10/8/1/0 0x0010830475E7 1 UP lan1 UP 5 ETHER Yes 119
10/12/6 0x0010832759F9 0 UP lan0 DOWN 6 ETHER Yes 52
#

# /usr/sbin/lanadmin


LOCAL AREA NETWORK ONLINE ADMINISTRATION, Version 1.0
Thu, Sep 6,2001 07:32: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 Net Mgmt ID = 4

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
nmid = Network Management ID of the LAN Interface
quit = Terminate the Administration, return to shell
reset = Reset LAN Interface to execute its selftest

Enter command: nmid
Enter Network Management ID. Currently 4: 5

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

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
nmid = Network Management ID of the LAN Interface
quit = Terminate the Administration, return to shell
reset = Reset LAN Interface to execute its selftest

Enter command:display
Description = lan1 Hewlett-Packard 10/100 TX Full-Duplex Hw Rev 0. TT = 512
Type (value) = ethernet-csmacd(6)
MTU Size = 1500
Speed = 100000000
Station Address = 0x10830475e7
Administration Status (value) = up(1)
Operation Status (value) = up(1)
Last Change = 5851
Inbound Octets = 0
Inbound Unicast Packets = 251131336
Inbound Non-Unicast Packets = 112086144
Inbound Discards = 0
Inbound Errors = 0
Inbound Unknown Protocols = 26032062
Outbound Octets = 1131388790
Outbound Unicast Packets = 233848014
Outbound Non-Unicast Packets = 178069
Outbound Discards = 0
Outbound Errors = 404
Outbound Queue Length = 2
Specific = 655367

Press to continue



hope this helps!
Live Free or Die
jim bidebo
Regular Advisor

Re: determine speed of built in lan?

its hp-ux 10.20

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 = 0x80009e8c312
Administration Status (value) = up(1)
Operation Status (value) = up(1)
Last Change = 2289
Inbound Octets = 3060952573
Inbound Unicast Packets = 17907339
Inbound Non-Unicast Packets = 4108120
Inbound Discards = 0
Inbound Errors = 7
Inbound Unknown Protocols = 147198
Outbound Octets = 3079591831
Outbound Unicast Packets = 16774419
Outbound Non-Unicast Packets = 3473
Outbound Discards = 0
Outbound Errors = 0
Outbound Queue Length = 0
Specific = 655367


so by this information i could asume that its only a 10Mbit card?
melvyn burnard
Honored Contributor

Re: determine speed of built in lan?

That is correct
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Ron Irving
Trusted Contributor

Re: determine speed of built in lan?

Hi...

I'm also running 10.20, and have the exact results you did for lanadmin display. I know that I have a 10Mbit card, so I think it's safe to assume you do to.

see ya

ron
Should have been an astronaut.
rick jones
Honored Contributor

Re: determine speed of built in lan?

as a matter of fact, ALL NIC's driven by the "lan2" driver are 10Mbit/s half-cuplex only. the lan2 driver drives an Intel 82596 (iirc) chip which is 10Mbit/HD only.

The core interface of a D, K, or anything older is such an interface. That includes the A180 and A180C. Any "7XX" workstation core interface will be the same as well as the B where XXXX is < 180 (with the exception of the B132L+ - but not the B132L) and an C series where XXXX is less than 200. Similarly, any J Series < 2240 has a 10Mbit/s only core NIC.

The 10/100 NICs are driven by the "btlan" family of drivers. These would include the HSC and PCI add-on cards as well as the "core" interfaces on the L, N, V, and SuperDome systems, the A[45]00 and virtually all the "four digit" workstations.
there is no rest for the wicked yet the virtuous have no pillows
Brian Hackley
Honored Contributor

Re: determine speed of built in lan?

Hi,

To followup with two pieces of information:

To determine the speed and mode of a 100BaseT card, first determine the "NMID" (10.20) or "PPA" (11.0 up) of the lan card in question with "lanscan". Then use lanadmin -x on 10.20 or lanadmin -x on 11.0 up.

The HP Network Lab has an EXCELLENT web page with all kinds of interesting support tips and configuration infos for 100BaseT/FastEthernet:

http://techsolutions.hp.com/fe/info_index.html

Hope all this helps,

-> Brian Hackley
Ask me about telecommuting!