Operating System - HP-UX
1751894 Members
5339 Online
108783 Solutions
New Discussion юеВ

Re: Ethernet Settings(speed) in HP-UX

 
baong
Frequent Advisor

Ethernet Settings(speed) in HP-UX

Hi All,
Could someone tell me what is exactly problem here?
output:
# lanadmin -x 0
The link is down. The speed and other link state information
are undefined. The configuration specified for this card is:
Speed = 1000 or 100 or 10 Mbps.
Autonegotiation = On.

I know my cable and port is working fine..since i already test it.
12 REPLIES 12
Johnson Punniyalingam
Honored Contributor

Re: Ethernet Settings(speed) in HP-UX

lanscan ( to get lan info )

check on NMID ( e.g 4 ) (NMID -- different ethernet has diff NMID)

run lanadmin -x(lower case) 4(NMID) ( to display the card current speed & duplex )

the output will be Current Speed = 100 Half Duplex

next

run lanadmin -X(upper case) 100FD 4 (NMID) ( this command will force the ethernet card change from Half_Duplex to Full_Duplex.
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: Ethernet Settings(speed) in HP-UX

>>I know my cable and port is working fine..since i already test it.<<<

Does you lan0 -> has been configured has you network interface ?

Double Confirm with "netstat -in"

look for * -> before you Lan interface , if you have one , looks like (link down)
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: Ethernet Settings(speed) in HP-UX

Country / Region: usa
Personal quote:
Certification:
ITRC member since: December 22, 2009
Last contribution date: February 03, 2010
I have assigned points to 0 of 23 responses to my questions.

So far you assigned "0" points. O Jezz!!!

please assign points , for who people share knowledge and valuable time in helping advice to resolve your problem
Problems are common to all, but attitude makes the difference
BUPA IS
Respected Contributor

Re: Ethernet Settings(speed) in HP-UX

Hello,
Please supply the output of
lanscan and then for the ppa of interest, it may not be 0

lanadmin -g mibstats ppanumber
lanadmin -g mibstats_ext ppanumber
mike
Help is out there always!!!!!
Torsten.
Acclaimed Contributor

Re: Ethernet Settings(speed) in HP-UX

# lanadmin -x 0
The link is down. The speed and other link state information
are undefined.




Sure you have the cable in the correct port???


Are you sure where lan0 is?


Please post

# model
# lanscan

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!   
baong
Frequent Advisor

Re: Ethernet Settings(speed) in HP-UX

here are some out put:

# netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan0 1500 192.168.1.0 192.168.1.59 0 0 0 0 0
lo0 4136 127.0.0.0 127.0.0.1 34605 0 34605 0 0
# lanadmin -x 0
The link is down. The speed and other link state information
are undefined. The configuration specified for this card is:
Speed = 1000 or 100 or 10 Mbps.
Autonegotiation = On.

# lanadmin -g mibstats 0

LAN INTERFACE STATUS DISPLAY
Thu, Feb 4,2010 09:01:31

PPA Number = 0
Description = lan0 HP PCI-X 1000Base-T Release B.11.23.0712
Type (value) = ethernet-csmacd(6)
MTU Size = 1500
Speed = 1000000000
Station Address = 0x1a4b087b02
Administration Status (value) = up(1)
Operation Status (value) = down(2)
Last Change = 0

I had test my cable and port is working fine by using my laptop with the same cable and i can go outside...
Patrick Wallek
Honored Contributor

Re: Ethernet Settings(speed) in HP-UX

What version of HP-UX are you running?

Please post the output of the following:

# uname -a

# whence lanadmin

# ls -l $(whence lanadmin)
BUPA IS
Respected Contributor

Re: Ethernet Settings(speed) in HP-UX

Hello,
The fundemantal problem is that the other end is not up or not connected! so this link is marked down, or you have more than one lan port .

Please post all the output from the commands requested above.

If lanscan shows more than one ppa please post the mib stats info for all of them.

Also please post OS release and patch bundle level and system model and the output of ioscan -fnClan .

Mike
Help is out there always!!!!!
baong
Frequent Advisor

Re: Ethernet Settings(speed) in HP-UX

Here are some output:

# uname -a
HP-UX delaware B.11.23 U ia64 0911252246 unlimited-user license
# whence lanadmin
/usr/sbin/lanadmin
# ls -l $(whence lanadmin)
-r-xr-xr-x 2 root bin 181980 Aug 26 2004 /usr/sbin/lanadmin
# ioscan -fnClan
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
lan 0 0/4/2/0 iether CLAIMED INTERFACE HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core
lan 1 0/4/2/1 iether CLAIMED INTERFACE HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core
lan 2 0/7/1/0 iether CLAIMED INTERFACE HP A7012-60601 PCI/PCI-X 1000Base-T Dual-port Adapter
lan 3 0/7/1/1 iether CLAIMED INTERFACE HP A7012-60601 PCI/PCI-X 1000Base-T Dual-port Adapter