Operating System - HP-UX
1846547 Members
2098 Online
110256 Solutions
New Discussion

hp-ux 11 - current network speed

 
SOLVED
Go to solution
joyful
New Member

hp-ux 11 - current network speed


Hi there

Which command can I use to check the current network speed of the server's LAN ports ?

lanscan ?
lanadmin ?

I DO NOT want to make configuration changes - just to display the current speed, duplex status, etc.

THANKS IN ADVANCE!
3 REPLIES 3
Torsten.
Acclaimed Contributor
Solution

Re: hp-ux 11 - current network speed

What is your OS version?

11.31:

# nwmgr -g -v -c lan0
lan0:
Interface State =UP
MAC Address = 0x00306E4B2123
Subsystem = igelan
Interface Type = 1000Base-T
Hardware Path = 0/1/2/0
NMID = 1
Feature Capabilities = Physical Interface
IPV4 Recv CKO
IPV4 Send CKO
VLAN Tag Offload
64Bit MIB Support
IPV4 TCP Segmentation Offload
UDP Multifrag CKO
Feature Settings = Physical Interface
VLAN Tag Offload
64Bit MIB Support
MTU = 1500
Speed = 100 Mbps Full Duplex (Autonegotiation : On)



below 11.31:

# lanadmin -x 6
Current Speed = 100 Full-Duplex

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!   
Bill Hassell
Honored Contributor

Re: hp-ux 11 - current network speed

lanadmin has some of the information but not in a simple format. The attached script lanhdwe will make the job much easier. It has information from several sources and you can use the script techniques to create your own report.

# lanhdwe

bambam active LAN cards sorted by IP-address

LAN-ID Network IP-address Speed DX AUTO MTU I/O path
====== =============== =============== ===== == ==== ==== ===============
lan12 10.10.11.0 10.10.11.2 1000 FD yes 9000 1/0/1/1/0/6/0
lan0 10.92.0.0 10.92.0.92 100 FD no 1500 0/0/0/1/0
lan3 10.92.57.0 10.92.57.54 100 FD no 1500 0/0/1/1/0/6/0
lan4 10.92.17.0 10.92.17.15 100 FD no 1500 0/0/1/1/0/6/1
lan6 10.92.106.0 10.92.106.254 1000 FD yes 1500 1/0/0/1/0
lan2 10.226.0.0 10.226.0.63 100 FD no 1500 0/0/1/1/0/4/1
lan10 10.226.173.0 10.226.173.10 100 FD no 1500 1/0/1/1/0/4/0
lan14 10.236.226.0 10.236.226.61 100 FD no 1500 1/0/2/1/0/4/0
lan11 10.256.231.0 10.256.231.2 1000 FD yes 9000 1/0/1/1/0/4/1
lan5 10.266.231.640 10.266.231.650 1000 FD yes 1500 0/0/2/1/0/4/0

Note: FD=full-duplex, HD=half-duplex, AUTO=Autonegotiate


Bill Hassell, sysadmin
saravanan08
Valued Contributor

Re: hp-ux 11 - current network speed

Hi joy,

use /usr/sbin/lanscan -q command to display the PPA

Then issue /usr/sbin/lanadmin -x PPA number to display the lan card speed

for example

$/usr/sbin/lanscan -q
0
1
2

$ /usr/sbin/lanadmin -x 1
Speed = 1000 Full-Duplex.
Autonegotiation = On.

$/usr/sbin/lanadmin -x 2
Speed = 1000 Full-Duplex.
Autonegotiation = On.


Thats it!!!